From 49417d2e20fc9a369940cdae906c707bd5864ef1 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 9 May 2018 16:59:10 +0200 Subject: [PATCH] Remove deprecated methods in PacketParserUtils --- .../smack/util/PacketParserUtils.java | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java b/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java index f8aac66b6..34f2212a9 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java @@ -977,30 +977,6 @@ public class PacketParserUtils { } - @Deprecated - public static void addPacketExtension(Stanza packet, XmlPullParser parser) throws Exception { - addExtensionElement(packet, parser); - } - - @Deprecated - public static void addPacketExtension(Stanza packet, XmlPullParser parser, String elementName, String namespace) - throws Exception { - addExtensionElement(packet, parser, elementName, namespace); - } - - @Deprecated - public static void addPacketExtension(Collection collection, XmlPullParser parser) - throws Exception { - addExtensionElement(collection, parser, parser.getName(), parser.getNamespace()); - } - - @Deprecated - public static void addPacketExtension(Collection collection, XmlPullParser parser, - String elementName, String namespace) throws Exception { - addExtensionElement(collection, parser, elementName, namespace); - } - - public static void addExtensionElement(Stanza packet, XmlPullParser parser) throws Exception { ParserUtils.assertAtStartTag(parser);