From 722ec5a48ad231f7d70d3098b27b83d0ce2bd2f9 Mon Sep 17 00:00:00 2001 From: rcollier Date: Mon, 20 Jan 2014 02:45:12 +0000 Subject: [PATCH] SMACK-461 Reverting last changes as the original deprecation marker was correct. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_4_0@13868 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/packet/DiscoverInfo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/org/jivesoftware/smackx/packet/DiscoverInfo.java b/source/org/jivesoftware/smackx/packet/DiscoverInfo.java index 46b408af7..ba873a96d 100644 --- a/source/org/jivesoftware/smackx/packet/DiscoverInfo.java +++ b/source/org/jivesoftware/smackx/packet/DiscoverInfo.java @@ -328,6 +328,7 @@ public class DiscoverInfo extends IQ { * 'type' attribute refer to Jabber::Registrar * * @param type the identity's type. + * @deprecated As per the spec, this field is mandatory and the 3 argument constructor should be used instead. */ public void setType(String type) { this.type = type;