diff options
author | Vitaly Takmazov | 2016-12-16 15:41:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-16 15:41:14 +0300 |
commit | 300a0439b2a6e26d9025247ef780c886616d4ae1 (patch) | |
tree | bcdb7613c2c5f37b870cbe18241894dba9428fae /juick-api/src/main/java/com/juick/api/configuration | |
parent | 18a8595d2150edc92084c94b9dbb8f4309d3ed36 (diff) |
CharEncoding.UTF_8
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/configuration')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/configuration/ApiInitializer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-api/src/main/java/com/juick/api/configuration/ApiInitializer.java b/juick-api/src/main/java/com/juick/api/configuration/ApiInitializer.java index 63ba52e8..41fe8b2d 100644 --- a/juick-api/src/main/java/com/juick/api/configuration/ApiInitializer.java +++ b/juick-api/src/main/java/com/juick/api/configuration/ApiInitializer.java @@ -1,7 +1,7 @@ package com.juick.api.configuration; import com.juick.configuration.DataConfiguration; -import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; +import org.apache.commons.lang3.CharEncoding; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; @@ -29,7 +29,7 @@ public class ApiInitializer extends AbstractAnnotationConfigDispatcherServletIni @Override protected Filter[] getServletFilters() { - return new Filter[]{new CharacterEncodingFilter("UTF-8")}; + return new Filter[]{new CharacterEncodingFilter(CharEncoding.UTF_8)}; } @Override |