mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Add TODOs about when to remove deprecated methods
This commit is contained in:
parent
50a8ff08e3
commit
96aad6a4aa
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue