mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Add toString() to Disco Feature and Identity
This commit is contained in:
parent
6f83553c1b
commit
c94962c763
1 changed files with 10 additions and 0 deletions
|
@ -469,6 +469,11 @@ public class DiscoverInfo extends IQ implements TypedCloneable<DiscoverInfo> {
|
|||
public Identity clone() {
|
||||
return new Identity(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return toXML().toString();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -537,5 +542,10 @@ public class DiscoverInfo extends IQ implements TypedCloneable<DiscoverInfo> {
|
|||
public Feature clone() {
|
||||
return new Feature(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return toXML().toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue