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); |