1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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:
Florian Schmaus 2015-01-14 17:32:52 +01:00
parent 3187436ba7
commit 9950f4d5de

View file

@ -726,11 +726,13 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
}
@Override
@Deprecated
public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) {
addAsyncPacketListener(packetListener, packetFilter);
}
@Override
@Deprecated
public boolean removePacketListener(PacketListener packetListener) {
return removeAsyncPacketListener(packetListener);
}