Skip to content

Commit 6177010

Browse files
jeartonsnicoll
authored andcommitted
Polish variable name in ServletWebServerApplicationContext.selfInitialize()
See gh-44240 Signed-off-by: zhoudong <[email protected]>
1 parent ce04ad3 commit 6177010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)