From 0967019a5f75a272d12718a58c8fee274ebfe0bf Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 5 Apr 2020 22:13:14 +0200 Subject: [PATCH] Remove deprecated Forwarded.getForwardedPacket() This method was deprecated with 1cd268a8f ("Deprecate Forwarded.getForwardedPacket()"). --- .../jivesoftware/smackx/forward/packet/Forwarded.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/forward/packet/Forwarded.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/forward/packet/Forwarded.java index 4d55a7c69..f3887d758 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/forward/packet/Forwarded.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/forward/packet/Forwarded.java @@ -83,17 +83,6 @@ public class Forwarded implements ExtensionElement { return xml; } - /** - * get the stanza forwarded by this stanza. - * - * @return the {@link Stanza} instance (typically a message) that was forwarded. - * @deprecated use @{link {@link #getForwardedStanza()}} instead. - */ - @Deprecated - public Stanza getForwardedPacket() { - return forwardedPacket; - } - /** * Get the forwarded Stanza found in this extension. *