Skip to content

Commit 2c364ce

Browse files
committed
Fix wrong ApplicationContext import
Closes gh-16978
1 parent 5a5b5a0 commit 2c364ce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/server/ServletWebServerFactory.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@
1616

1717
package org.springframework.boot.web.servlet.server;
1818

19-
import org.apache.catalina.core.ApplicationContext;
20-
2119
import org.springframework.boot.web.server.WebServer;
2220
import org.springframework.boot.web.servlet.ServletContextInitializer;
2321

@@ -34,7 +32,7 @@ public interface ServletWebServerFactory {
3432
/**
3533
* Gets a new fully configured but paused {@link WebServer} instance. Clients should
3634
* not be able to connect to the returned server until {@link WebServer#start()} is
37-
* called (which happens when the {@link ApplicationContext} has been fully
35+
* called (which happens when the {@code ApplicationContext} has been fully
3836
* refreshed).
3937
* @param initializers {@link ServletContextInitializer}s that should be applied as
4038
* the server starts

0 commit comments

Comments
 (0)