From 609f4243d9592d6164adab89280cc353a969185b Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 7 Apr 2018 21:22:39 +0200 Subject: [PATCH] Remove deprecated method in PUshNotificationsManager --- .../PushNotificationsManager.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/push_notifications/PushNotificationsManager.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/push_notifications/PushNotificationsManager.java index c3afb086e..44e080c96 100644 --- a/smack-experimental/src/main/java/org/jivesoftware/smackx/push_notifications/PushNotificationsManager.java +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/push_notifications/PushNotificationsManager.java @@ -79,24 +79,6 @@ public final class PushNotificationsManager extends Manager { super(connection); } - /** - * Returns true if Push Notifications is supported by the server. - * - * @return true if Push Notifications is supported by the server. - * @throws NoResponseException - * @throws XMPPErrorException - * @throws NotConnectedException - * @throws InterruptedException - * @deprecated Use {@link #isSupported()} instead. - */ - @Deprecated - // TODO: Remove in Smack 4.3 - public boolean isSupportedByServer() - throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException { - return ServiceDiscoveryManager.getInstanceFor(connection()) - .serverSupportsFeature(PushNotificationsElements.NAMESPACE); - } - /** * Returns true if Push Notifications are supported by this account. *