diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java index 5cacbdce5e..b285399ab4 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java @@ -372,7 +372,7 @@ public class TomcatEmbeddedServletContainerFactory extends /** * Returns a mutable collection of the {@link TomcatContextCustomizer}s that will be * applied to the Tomcat {@link Context} . - * @return the tomcatContextCustomizers the listeners that will be applied + * @return the listeners that will be applied */ public Collection getTomcatContextCustomizers() { return this.tomcatContextCustomizers; @@ -415,9 +415,9 @@ public class TomcatEmbeddedServletContainerFactory extends } /** - * Returns a mutable collection of the {@link TomcatContextCustomizer}s that will be + * Returns a mutable collection of the {@link TomcatConnectorCustomizer}s that will be * applied to the Tomcat {@link Context} . - * @return the tomcatContextCustomizers the listeners that will be applied + * @return the listeners that will be applied */ public Collection getTomcatConnectorCustomizers() { return this.tomcatConnectorCustomizers;