From 1d3a066f52d145d09f0b81523c36b5c9db6b96bf Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 23 Nov 2018 20:15:13 +0000 Subject: [PATCH] Polish --- .../EmbeddedWebApplicationContextTests.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/spring-boot/src/test/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContextTests.java b/spring-boot/src/test/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContextTests.java index 22b9fc4d9e..8a4954bdb5 100644 --- a/spring-boot/src/test/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContextTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContextTests.java @@ -590,18 +590,4 @@ public class EmbeddedWebApplicationContextTests { } - protected static class WithAutowiredServletContext { - - private final ServletContext context; - - public WithAutowiredServletContext(ServletContext context) { - this.context = context; - } - - public ServletContext getContext() { - return this.context; - } - - } - }