aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-06-25 15:06:49 +0300
committerGravatar Vitaly Takmazov2017-06-25 15:06:49 +0300
commit1e29c8830246a17f060654d43d970a00ce94122a (patch)
tree1f3374cc843f0b8016ea99e1acfa514f77a57544 /juick-notifications/src/main/java/com/juick
parent13d3c5eebeef3442bba6f7934d8cae08e8962f70 (diff)
commons-lang3 deprecated classes -> commons-text and commons-codec
Diffstat (limited to 'juick-notifications/src/main/java/com/juick')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/Notifications.java5
-rw-r--r--juick-notifications/src/main/java/com/juick/components/configuration/NotificationsInitializer.java2
2 files changed, 2 insertions, 5 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/Notifications.java b/juick-notifications/src/main/java/com/juick/components/Notifications.java
index 74ca2bb7..0a315f76 100644
--- a/juick-notifications/src/main/java/com/juick/components/Notifications.java
+++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java
@@ -22,17 +22,14 @@ import com.google.android.gcm.server.*;
import com.juick.TokensList;
import com.notnoop.apns.APNS;
import com.notnoop.apns.ApnsService;
-import org.apache.commons.lang3.StringEscapeUtils;
-import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
+import org.apache.commons.text.StringEscapeUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpMethod;
import org.springframework.web.client.RestTemplate;
import rocks.xmpp.core.XmppException;
-import rocks.xmpp.core.session.Extension;
-import rocks.xmpp.core.session.XmppSessionConfiguration;
import rocks.xmpp.extensions.component.accept.ExternalComponent;
import javax.annotation.PostConstruct;
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsInitializer.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsInitializer.java
index 2421f0e9..4249d988 100644
--- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsInitializer.java
+++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsInitializer.java
@@ -1,6 +1,6 @@
package com.juick.components.configuration;
-import org.apache.commons.lang3.CharEncoding;
+import org.apache.commons.codec.CharEncoding;
import org.springframework.web.filter.CharacterEncodingFilter;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;