From 96aad6a4aa81244e30935a337110eb8bc4eb7ca5 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 4 Jan 2017 16:00:53 +0100 Subject: [PATCH] Add TODOs about when to remove deprecated methods --- .../src/main/java/org/jivesoftware/smack/XMPPConnection.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java index c7d64752f..d8ab17f4e 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java @@ -173,6 +173,7 @@ public interface XMPPConnection { * @throws InterruptedException * @deprecated use {@link #sendStanza(Stanza)} instead. */ + // TODO Remove in 4.3. @Deprecated public void sendPacket(Stanza packet) throws NotConnectedException, InterruptedException; @@ -294,6 +295,7 @@ public interface XMPPConnection { * @deprecated use {@link #addAsyncStanzaListener(StanzaListener, StanzaFilter)} or * {@link #addSyncStanzaListener(StanzaListener, StanzaFilter)}. */ + // TODO Remove in 4.3. @Deprecated public void addPacketListener(StanzaListener packetListener, StanzaFilter packetFilter); @@ -304,6 +306,7 @@ public interface XMPPConnection { * @return true if the stanza(/packet) listener was removed * @deprecated use {@link #removeAsyncStanzaListener(StanzaListener)} or {@link #removeSyncStanzaListener(StanzaListener)}. */ + // TODO Remove in 4.3. @Deprecated public boolean removePacketListener(StanzaListener packetListener);