FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Javadoc and `@Nullable` annotation for `servletContext` parameter of `ConfigurableWebEnvironment.initPropertySources` are contradictory · Issue #34845 · spring-projects/spring-framework · GitHub

Javadoc and @Nullable annotation for servletContext parameter of ConfigurableWebEnvironment.initPropertySources are contradictory #34845

Description

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL