Remove deprecated methods in StanzaCollector

This commit is contained in:
Florian Schmaus 2019-05-08 20:42:08 +02:00
parent 68b7eb26f3
commit f6be434f66
1 changed files with 0 additions and 25 deletions

View File

@ -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 <code>null</code>, 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 <code>null</code>, then all stanzas will
* get collected by this collector.