Skip to content

Commit 830c2ef

Browse files
committed
Polish
1 parent be3b11d commit 830c2ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/support/SpringBootServletInitializer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,12 @@ public void onStartup(ServletContext servletContext) throws ServletException {
9292
WebApplicationContext rootAppContext = createRootApplicationContext(servletContext);
9393
if (rootAppContext != null) {
9494
servletContext.addListener(new ContextLoaderListener(rootAppContext) {
95+
9596
@Override
9697
public void contextInitialized(ServletContextEvent event) {
9798
// no-op because the application context is already initialized
9899
}
100+
99101
});
100102
}
101103
else {

0 commit comments

Comments
 (0)