Polish
This commit is contained in:
parent
be3b11db48
commit
830c2ef7f1
|
@ -92,10 +92,12 @@ public abstract class SpringBootServletInitializer implements WebApplicationInit
|
|||
WebApplicationContext rootAppContext = createRootApplicationContext(servletContext);
|
||||
if (rootAppContext != null) {
|
||||
servletContext.addListener(new ContextLoaderListener(rootAppContext) {
|
||||
|
||||
@Override
|
||||
public void contextInitialized(ServletContextEvent event) {
|
||||
// no-op because the application context is already initialized
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue