From 6177010b11b79be7b4ff9f08bb8f8362543974a7 Mon Sep 17 00:00:00 2001 From: zhoudong Date: Wed, 12 Feb 2025 18:00:58 +0800 Subject: [PATCH] Polish variable name in ServletWebServerApplicationContext.selfInitialize() See gh-44240 Signed-off-by: zhoudong --- .../servlet/context/ServletWebServerApplicationContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java index d6513792d2..0e938bf30c 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java @@ -237,8 +237,8 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon prepareWebApplicationContext(servletContext); registerApplicationScope(servletContext); WebApplicationContextUtils.registerEnvironmentBeans(getBeanFactory(), servletContext); - for (ServletContextInitializer beans : getServletContextInitializerBeans()) { - beans.onStartup(servletContext); + for (ServletContextInitializer initializerBean : getServletContextInitializerBeans()) { + initializerBean.onStartup(servletContext); } }