mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 14:02:06 +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
|
* @throws InterruptedException
|
||||||
* @deprecated use {@link #sendStanza(Stanza)} instead.
|
* @deprecated use {@link #sendStanza(Stanza)} instead.
|
||||||
*/
|
*/
|
||||||
|
// TODO Remove in 4.3.
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void sendPacket(Stanza packet) throws NotConnectedException, InterruptedException;
|
public void sendPacket(Stanza packet) throws NotConnectedException, InterruptedException;
|
||||||
|
|
||||||
|
@ -294,6 +295,7 @@ public interface XMPPConnection {
|
||||||
* @deprecated use {@link #addAsyncStanzaListener(StanzaListener, StanzaFilter)} or
|
* @deprecated use {@link #addAsyncStanzaListener(StanzaListener, StanzaFilter)} or
|
||||||
* {@link #addSyncStanzaListener(StanzaListener, StanzaFilter)}.
|
* {@link #addSyncStanzaListener(StanzaListener, StanzaFilter)}.
|
||||||
*/
|
*/
|
||||||
|
// TODO Remove in 4.3.
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void addPacketListener(StanzaListener packetListener, StanzaFilter packetFilter);
|
public void addPacketListener(StanzaListener packetListener, StanzaFilter packetFilter);
|
||||||
|
|
||||||
|
@ -304,6 +306,7 @@ public interface XMPPConnection {
|
||||||
* @return true if the stanza(/packet) listener was removed
|
* @return true if the stanza(/packet) listener was removed
|
||||||
* @deprecated use {@link #removeAsyncStanzaListener(StanzaListener)} or {@link #removeSyncStanzaListener(StanzaListener)}.
|
* @deprecated use {@link #removeAsyncStanzaListener(StanzaListener)} or {@link #removeSyncStanzaListener(StanzaListener)}.
|
||||||
*/
|
*/
|
||||||
|
// TODO Remove in 4.3.
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public boolean removePacketListener(StanzaListener packetListener);
|
public boolean removePacketListener(StanzaListener packetListener);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue