Add toString() to Disco Feature and Identity

This commit is contained in:
Florian Schmaus 2018-05-10 15:25:20 +02:00
parent 6f83553c1b
commit c94962c763
1 changed files with 10 additions and 0 deletions

View File

@ -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();
}
}
}