From cecbc5063bc173f4a25f0e5366a5dbf3b1c70e0a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 12 Dec 2016 23:36:52 +0300 Subject: update dependencies --- juick-notifications/build.gradle | 1 - .../components/configuration/NotificationsMvcConfiguration.java | 8 -------- 2 files changed, 9 deletions(-) (limited to 'juick-notifications') diff --git a/juick-notifications/build.gradle b/juick-notifications/build.gradle index 41fa1206..9aa98fc2 100644 --- a/juick-notifications/build.gradle +++ b/juick-notifications/build.gradle @@ -8,7 +8,6 @@ dependencies { compile 'com.ganyo:gcm-server:1.1.0' compile 'com.notnoop.apns:apns:1.0.0.Beta6' compile "org.springframework:spring-webmvc:${rootProject.springFrameworkVersion}" - compile 'com.mitchellbosecke:pebble-spring4:2.3.0' providedRuntime 'mysql:mysql-connector-java:5.1.40' diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsMvcConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsMvcConfiguration.java index a0f0ad06..f92b6a19 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsMvcConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsMvcConfiguration.java @@ -8,7 +8,6 @@ import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; -import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; import java.util.List; @@ -19,13 +18,6 @@ import java.util.List; @ComponentScan(basePackages = {"com.juick.components.controllers"}) public class NotificationsMvcConfiguration extends WebMvcConfigurationSupport { - @Override - public RequestMappingHandlerMapping requestMappingHandlerMapping() { - RequestMappingHandlerMapping mapping = super.requestMappingHandlerMapping(); - mapping.setUseSuffixPatternMatch(false); - return mapping; - } - @Override protected void configureMessageConverters(List> converters) { Jackson2ObjectMapperBuilder builder = new Jackson2ObjectMapperBuilder() -- cgit v1.2.3