diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java index 9c5674f70..796e51857 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java @@ -338,14 +338,6 @@ public class DiscoverInfo extends IQ implements DiscoverInfoView, TypedCloneable private final String name; private final String lang; // 'xml:lang; - public Identity(Identity identity) { - this.category = identity.category; - this.type = identity.type; - this.key = identity.type; - this.name = identity.name; - this.lang = identity.lang; - } - /** * Creates a new identity for an XMPP entity. *