From f6be434f664e6ebfbaab125891faca2cb58924a3 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 8 May 2019 20:42:08 +0200 Subject: [PATCH] Remove deprecated methods in StanzaCollector --- .../jivesoftware/smack/StanzaCollector.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java b/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java index dcccd64a3..93c15244e 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java @@ -98,18 +98,6 @@ public final class StanzaCollector implements AutoCloseable { } } - /** - * Returns the stanza filter associated with this stanza collector. The packet - * filter is used to determine what packets are queued as results. - * - * @return the stanza filter. - * @deprecated use {@link #getStanzaFilter()} instead. - */ - @Deprecated - public StanzaFilter getPacketFilter() { - return getStanzaFilter(); - } - /** * Returns the stanza filter associated with this stanza collector. The stanza * filter is used to determine what stanzas are queued as results. @@ -395,19 +383,6 @@ public final class StanzaCollector implements AutoCloseable { private Configuration() { } - /** - * Set the stanza filter used by this collector. If null, then all packets will - * get collected by this collector. - * - * @param packetFilter - * @return a reference to this configuration. - * @deprecated use {@link #setStanzaFilter(StanzaFilter)} instead. - */ - @Deprecated - public Configuration setPacketFilter(StanzaFilter packetFilter) { - return setStanzaFilter(packetFilter); - } - /** * Set the stanza filter used by this collector. If null, then all stanzas will * get collected by this collector.