Skip to content

Commit f9540c0

Browse files
committed
Merge pull request #44240 from jearton
* pr/44240: Update copyright year of changed file Polish variable name in ServletWebServerApplicationContext.selfInitialize() Closes gh-44240
2 parents ce04ad3 + a57fd80 commit f9540c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-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.
@@ -237,8 +237,8 @@ private void selfInitialize(ServletContext servletContext) throws ServletExcepti
237237
prepareWebApplicationContext(servletContext);
238238
registerApplicationScope(servletContext);
239239
WebApplicationContextUtils.registerEnvironmentBeans(getBeanFactory(), servletContext);
240-
for (ServletContextInitializer beans : getServletContextInitializerBeans()) {
241-
beans.onStartup(servletContext);
240+
for (ServletContextInitializer initializerBean : getServletContextInitializerBeans()) {
241+
initializerBean.onStartup(servletContext);
242242
}
243243
}
244244

0 commit comments

Comments
 (0)