1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

Improved toString() method

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2105 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-09-24 19:06:27 +00:00 committed by mtucker
parent 25d40aed36
commit d48175560d

View file

@ -98,6 +98,9 @@ public class RosterEntry {
public String toString() {
StringBuffer buf = new StringBuffer();
if (name != null) {
buf.append(name).append(": ");
}
buf.append(user);
Iterator groups = getGroups();
if (groups.hasNext()) {