diff --git a/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java b/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java index d2153ca9c68..f90fca5bc43 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java +++ b/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java @@ -40,10 +40,10 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; * {@code web.xml}-based approach. * *

Mechanism of Operation

- * This class will be loaded and instantiated and have its {@link #onStartup} method - * invoked by any Servlet 3.0-compliant container during container startup assuming that - * the {@code spring-web} module JAR is present on the classpath. This occurs through the - * JAR Services API {@link ServiceLoader#load(Class)} method detecting the + * This class will be loaded and instantiated and have its {@link #onStartup onStartup} + * method invoked by any Servlet 3.0-compliant container during container startup assuming + * that the {@code spring-web} module JAR is present on the classpath. This occurs through + * the JAR Services API {@link ServiceLoader#load(Class)} method detecting the * {@code spring-web} module's {@code META-INF/services/javax.servlet.ServletContainerInitializer} * service provider configuration file. See the * @@ -66,7 +66,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; * {@code WebApplicationInitializer} implementations. It is then the responsibility of * each {@code WebApplicationInitializer} to do the actual work of initializing the * {@code ServletContext}. The exact process of delegation is described in detail in the - * {@link #onStartup} documentation below. + * {@link #onStartup onStartup} documentation below. * *

General Notes

* In general, this class should be viewed as supporting infrastructure for diff --git a/org.springframework.web/src/main/java/org/springframework/web/WebApplicationInitializer.java b/org.springframework.web/src/main/java/org/springframework/web/WebApplicationInitializer.java index 2db7cde143f..8872dde7b0a 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/WebApplicationInitializer.java +++ b/org.springframework.web/src/main/java/org/springframework/web/WebApplicationInitializer.java @@ -24,10 +24,10 @@ import javax.servlet.ServletException; * {@link ServletContext} programmatically -- as opposed to (or possibly in conjunction * with) the traditional {@code web.xml}-based approach. * - *

Implementations of this SPI will be detected automatically by the - * {@link SpringServletContainerInitializer}, which itself is automatically bootstrapped - * by Servlet 3.0 container. See {@linkplain SpringServletContainerInitializer its Javadoc} - * for details on this bootstrapping mechanism. + *

Implementations of this SPI will be detected automatically by {@link + * SpringServletContainerInitializer}, which itself is bootstrapped automatically + * by any Servlet 3.0 container. See {@linkplain SpringServletContainerInitializer its + * Javadoc} for details on this bootstrapping mechanism. * *

Example

*

The traditional, XML-based approach