mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Mark (add|remove)PacketListener deprecated
in AbstractXMPPConnection. It was previously only marked deprecated in the XMPPConnection interface definition.
This commit is contained in:
parent
3187436ba7
commit
9950f4d5de
1 changed files with 2 additions and 0 deletions
|
@ -726,11 +726,13 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) {
|
public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) {
|
||||||
addAsyncPacketListener(packetListener, packetFilter);
|
addAsyncPacketListener(packetListener, packetFilter);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public boolean removePacketListener(PacketListener packetListener) {
|
public boolean removePacketListener(PacketListener packetListener) {
|
||||||
return removeAsyncPacketListener(packetListener);
|
return removeAsyncPacketListener(packetListener);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue