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. *