Polish
This commit is contained in:
parent
cd3d4b485d
commit
0260297aa4
|
|
@ -48,8 +48,7 @@ public abstract class SpringBootServletInitializer implements WebApplicationInit
|
|||
|
||||
@Override
|
||||
public void onStartup(ServletContext servletContext) throws ServletException {
|
||||
WebApplicationContext rootAppContext = this
|
||||
.createRootApplicationContext(servletContext);
|
||||
WebApplicationContext rootAppContext = createRootApplicationContext(servletContext);
|
||||
if (rootAppContext != null) {
|
||||
servletContext.addListener(new ContextLoaderListener(rootAppContext) {
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue