1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-26 05:24:51 +02: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();
}
}
}