The javadoc states that servletContext may not be null:
|
* @param servletContext the {@link ServletContext} (may not be {@code null}) |
But the parameter is annotated with @Nullable:
|
void initPropertySources(@Nullable ServletContext servletContext, @Nullable ServletConfig servletConfig); |
Reactions are currently unavailable
The javadoc states that servletContext may not be null:
spring-framework/spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java
Line 42 in a5b0399
But the parameter is annotated with @Nullable:
spring-framework/spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java
Line 47 in a5b0399