diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContextTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContextTests.java index fdcf9ef17e..64fa1085d6 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContextTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContextTests.java @@ -565,18 +565,4 @@ public class ServletWebServerApplicationContextTests { } - protected static class WithAutowiredServletContext { - - private final ServletContext context; - - public WithAutowiredServletContext(ServletContext context) { - this.context = context; - } - - public ServletContext getContext() { - return this.context; - } - - } - }