diff options
author | Vitaly Takmazov | 2016-12-12 23:36:52 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-12 23:39:04 +0300 |
commit | cecbc5063bc173f4a25f0e5366a5dbf3b1c70e0a (patch) | |
tree | 4d42a7d8fb3069307b832dff7e32e37fba5d6968 /juick-notifications | |
parent | 052f8508ab2c8995d135edb7f8207073332e1e96 (diff) |
update dependencies
Diffstat (limited to 'juick-notifications')
-rw-r--r-- | juick-notifications/build.gradle | 1 | ||||
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/NotificationsMvcConfiguration.java | 8 |
2 files changed, 0 insertions, 9 deletions
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; @@ -20,13 +19,6 @@ import java.util.List; public class NotificationsMvcConfiguration extends WebMvcConfigurationSupport { @Override - public RequestMappingHandlerMapping requestMappingHandlerMapping() { - RequestMappingHandlerMapping mapping = super.requestMappingHandlerMapping(); - mapping.setUseSuffixPatternMatch(false); - return mapping; - } - - @Override protected void configureMessageConverters(List<HttpMessageConverter<?>> converters) { Jackson2ObjectMapperBuilder builder = new Jackson2ObjectMapperBuilder() .serializationInclusion(JsonInclude.Include.NON_DEFAULT) |