From 4466548f53938d07e192133bc990169c7884439b Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 30 Apr 2025 17:55:39 +0200 Subject: [PATCH] Align parameter javadoc with nullable signature Closes gh-34845 --- .../web/context/ConfigurableWebEnvironment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java b/spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java index d077036403..fb7ea08ec3 100644 --- a/spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java +++ b/spring-web/src/main/java/org/springframework/web/context/ConfigurableWebEnvironment.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ public interface ConfigurableWebEnvironment extends ConfigurableEnvironment { * org.springframework.core.env.PropertySource.StubPropertySource stub property source} * instances acting as placeholders with real servlet context/config property sources * using the given parameters. - * @param servletContext the {@link ServletContext} (may not be {@code null}) + * @param servletContext the {@link ServletContext} ({@code null} if not available) * @param servletConfig the {@link ServletConfig} ({@code null} if not available) * @see org.springframework.web.context.support.WebApplicationContextUtils#initServletPropertySources( * org.springframework.core.env.MutablePropertySources, ServletContext, ServletConfig)