From a95d25544c9d0b3caebccd0b9fb506d6a4b13dbb Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 7 Mar 2015 21:12:12 +0100 Subject: [PATCH] Improve EmbeddedPacketExtension javadoc parsePacketExtension is deprecated, use parseExtensionElement instead. --- .../org/jivesoftware/smackx/pubsub/EmbeddedPacketExtension.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/EmbeddedPacketExtension.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/EmbeddedPacketExtension.java index 969441137..b32a6e637 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/EmbeddedPacketExtension.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/EmbeddedPacketExtension.java @@ -27,7 +27,7 @@ import org.jivesoftware.smack.util.PacketParserUtils; * extensions. This effectively extends the idea of an extension within one of the * top level {@link Stanza} types to consider any embedded element to be an extension * of its parent. This more easily enables the usage of some of Smacks parsing - * utilities such as {@link PacketParserUtils#parsePacketExtension(String, String, org.xmlpull.v1.XmlPullParser)} to be used + * utilities such as {@link PacketParserUtils#parseExtensionElement(String, String, org.xmlpull.v1.XmlPullParser)} to be used * to parse any element of the XML being parsed. * *

Top level extensions have only one element, but they can have multiple children, or