Remove deprecated methods/fields scheduled for removal in Smack 4.4

This commit is contained in:
Florian Schmaus 2020-04-04 13:03:03 +02:00
parent 0cbbac90bc
commit 12e20c2d6c
3 changed files with 0 additions and 23 deletions

View File

@ -240,18 +240,6 @@ public final class SmackConfiguration {
compressionHandlers.add(xmppInputOutputStream);
}
/**
* Get compression handlers.
*
* @return a list of compression handlers.
* @deprecated use {@link #getCompressionHandlers()} instead.
*/
@Deprecated
// TODO: Remove in Smack 4.4.
public static List<XMPPInputOutputStream> getCompresionHandlers() {
return getCompressionHandlers();
}
/**
* Get compression handlers.
*

View File

@ -98,13 +98,6 @@ public abstract class SmackException extends Exception {
return new NoResponseException(sb.toString());
}
@Deprecated
// TODO: Remove in Smack 4.4.
public static NoResponseException newWith(long timeout,
StanzaCollector collector) {
return newWith(timeout, collector.getStanzaFilter(), false);
}
public static NoResponseException newWith(long timeout,
StanzaCollector collector, boolean stanzaCollectorCancelled) {
return newWith(timeout, collector.getStanzaFilter(), stanzaCollectorCancelled);

View File

@ -26,10 +26,6 @@ public class StanzaIdProvider extends ExtensionElementProvider<StanzaIdElement>
public static final StanzaIdProvider INSTANCE = new StanzaIdProvider();
// TODO: Remove in Smack 4.4.
@Deprecated
public static final StanzaIdProvider TEST_INSTANCE = INSTANCE;
@Override
public StanzaIdElement parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) {
String id = parser.getAttributeValue(null, StanzaIdElement.ATTR_ID);