From 350e80eb6a191a15c60f5a1332806636d20e87cb Mon Sep 17 00:00:00 2001 From: DmitriyMX Date: Sun, 23 Sep 2018 14:35:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=B4=D0=B0=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B4=20Spring=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java b/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java index 7e64d4d..ce306d6 100644 --- a/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java +++ b/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java @@ -13,12 +13,12 @@ import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; import org.springframework.web.servlet.config.annotation.EnableWebMvc; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import java.net.InetSocketAddress; -@RequiredArgsConstructor @Slf4j +@RequiredArgsConstructor public class WebApp { private final String host; private final int port; @@ -29,7 +29,7 @@ public class WebApp { */ @Configuration @EnableWebMvc - public static class SpringConfigMVC extends WebMvcConfigurerAdapter { + public static class SpringConfigMVC implements WebMvcConfigurer { } /**