From 24b5b0d93ea8b47cbc0a33dfee5d1e5a08805bce Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 21 Aug 2019 15:50:33 +0100 Subject: [PATCH] Polish --- .../embedded/tomcat/TomcatServletWebServerFactoryTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactoryTests.java index 11fb1ed303..941120ff5f 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactoryTests.java @@ -68,6 +68,7 @@ import org.mockito.InOrder; import org.springframework.boot.testsupport.system.CapturedOutput; import org.springframework.boot.web.server.PortInUseException; import org.springframework.boot.web.server.WebServerException; +import org.springframework.boot.web.servlet.ServletContextInitializer; import org.springframework.boot.web.servlet.server.AbstractServletWebServerFactory; import org.springframework.boot.web.servlet.server.AbstractServletWebServerFactoryTests; import org.springframework.core.io.ByteArrayResource; @@ -541,7 +542,7 @@ class TomcatServletWebServerFactoryTests extends AbstractServletWebServerFactory } @Test - public void registerJspServletWithDefaultLoadOnStartup() { + void registerJspServletWithDefaultLoadOnStartup() { TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory(0); factory.addInitializers(new ServletContextInitializer() {