From b7645f70499066a6d4263797ed0655433096470d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 2 Oct 2017 20:12:56 +0300 Subject: dependency updates, cleanup spring 5 deprecation warnings --- .../java/com/juick/server/configuration/BaseWebConfiguration.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'juick-server-web/src/main/java/com/juick/server/configuration') diff --git a/juick-server-web/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/juick-server-web/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java index b702a5f1..a2422df9 100644 --- a/juick-server-web/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java +++ b/juick-server-web/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java @@ -28,7 +28,7 @@ import org.springframework.http.converter.json.MappingJackson2HttpMessageConvert import org.springframework.web.multipart.MultipartResolver; import org.springframework.web.multipart.commons.CommonsMultipartResolver; import org.springframework.web.servlet.config.annotation.PathMatchConfigurer; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import java.util.List; @@ -36,7 +36,7 @@ import java.util.List; * Created by vitalyster on 28.06.2016. */ @Configuration -public class BaseWebConfiguration extends WebMvcConfigurerAdapter { +public class BaseWebConfiguration implements WebMvcConfigurer { @Override @@ -48,7 +48,6 @@ public class BaseWebConfiguration extends WebMvcConfigurerAdapter { public void configureMessageConverters(List> converters) { MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter(jsonMapper()); converters.add(converter); - super.configureMessageConverters(converters); } @Bean -- cgit v1.2.3