mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Remove deprecated methods in StanzaCollector
This commit is contained in:
parent
68b7eb26f3
commit
f6be434f66
1 changed files with 0 additions and 25 deletions
|
@ -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
|
* Returns the stanza filter associated with this stanza collector. The stanza
|
||||||
* filter is used to determine what stanzas are queued as results.
|
* filter is used to determine what stanzas are queued as results.
|
||||||
|
@ -395,19 +383,6 @@ public final class StanzaCollector implements AutoCloseable {
|
||||||
private Configuration() {
|
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
|
* Set the stanza filter used by this collector. If <code>null</code>, then all stanzas will
|
||||||
* get collected by this collector.
|
* get collected by this collector.
|
||||||
|
|
Loading…
Reference in a new issue