diff options
author | Vitaly Takmazov | 2017-06-25 15:06:49 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-06-25 15:06:49 +0300 |
commit | 1e29c8830246a17f060654d43d970a00ce94122a (patch) | |
tree | 1f3374cc843f0b8016ea99e1acfa514f77a57544 /juick-notifications | |
parent | 13d3c5eebeef3442bba6f7934d8cae08e8962f70 (diff) |
commons-lang3 deprecated classes -> commons-text and commons-codec
Diffstat (limited to 'juick-notifications')
3 files changed, 3 insertions, 5 deletions
diff --git a/juick-notifications/build.gradle b/juick-notifications/build.gradle index de2e4f24..7b97f05b 100644 --- a/juick-notifications/build.gradle +++ b/juick-notifications/build.gradle @@ -22,6 +22,7 @@ dependencies { compile "org.apache.httpcomponents:httpclient:4.5.3" compile "org.apache.commons:commons-lang3:3.6" + compile "org.apache.commons:commons-text:1.1" compile "rocks.xmpp:xmpp-core-client:0.7.4" compile "rocks.xmpp:xmpp-extensions-client:0.7.4" 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; |