aboutsummaryrefslogtreecommitdiff
path: root/juick-server-web/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-02 20:12:56 +0300
committerGravatar Vitaly Takmazov2017-10-02 20:12:56 +0300
commitb7645f70499066a6d4263797ed0655433096470d (patch)
tree99b4698f91c97b94c9ac2589469b67ad69342adb /juick-server-web/src/main/java
parent4a23b1c5a2d6aea2a3e431f7ac94910b4217ca42 (diff)
dependency updates, cleanup spring 5 deprecation warnings
Diffstat (limited to 'juick-server-web/src/main/java')
-rw-r--r--juick-server-web/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java5
1 files changed, 2 insertions, 3 deletions
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<HttpMessageConverter<?>> converters) {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter(jsonMapper());
converters.add(converter);
- super.configureMessageConverters(converters);
}
@Bean