mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Remove DiscoverInfo.Identity(Identity) copy constructor
as there is no need to copy an immutable type.
This commit is contained in:
parent
63a4212f7e
commit
ee699f24dd
1 changed files with 0 additions and 8 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue