1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

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

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