Polishing
This commit is contained in:
@@ -45,10 +45,9 @@ import org.springframework.web.context.request.SessionScope;
|
||||
import org.springframework.web.context.request.WebRequest;
|
||||
|
||||
/**
|
||||
* Convenience methods for retrieving the root
|
||||
* {@link org.springframework.web.context.WebApplicationContext} for a given
|
||||
* {@code ServletContext}. This is useful for programmatically accessing a
|
||||
* Spring application context from within custom web views or MVC actions.
|
||||
* Convenience methods for retrieving the root {@link WebApplicationContext} for
|
||||
* a given {@link ServletContext}. This is useful for programmatically accessing
|
||||
* a Spring application context from within custom web views or MVC actions.
|
||||
*
|
||||
* <p>Note that there are more convenient ways of accessing the root context for
|
||||
* many web frameworks, either part of Spring or available as an external library.
|
||||
@@ -232,6 +231,7 @@ public abstract class WebApplicationContextUtils {
|
||||
*/
|
||||
public static void initServletPropertySources(
|
||||
MutablePropertySources propertySources, ServletContext servletContext) {
|
||||
|
||||
initServletPropertySources(propertySources, servletContext, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user