Skip to content

Commit 4466548

Browse files
committed
Align parameter javadoc with nullable signature
Closes gh-34845
1 parent 9c183f9 commit 4466548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ public interface ConfigurableWebEnvironment extends ConfigurableEnvironment {
3939
* org.springframework.core.env.PropertySource.StubPropertySource stub property source}
4040
* instances acting as placeholders with real servlet context/config property sources
4141
* using the given parameters.
42-
* @param servletContext the {@link ServletContext} (may not be {@code null})
42+
* @param servletContext the {@link ServletContext} ({@code null} if not available)
4343
* @param servletConfig the {@link ServletConfig} ({@code null} if not available)
4444
* @see org.springframework.web.context.support.WebApplicationContextUtils#initServletPropertySources(
4545
* org.springframework.core.env.MutablePropertySources, ServletContext, ServletConfig)

0 commit comments

Comments
 (0)