Prettier DefaultChannelGroup.toString()

This commit is contained in:
Trustin Lee 2009-02-13 07:52:38 +00:00
parent 1896c90207
commit b22a578538

View File

@ -283,6 +283,7 @@ public class DefaultChannelGroup extends AbstractSet<Channel> implements Channel
@Override
public String toString() {
return getClass().getSimpleName() + '(' + name + ')';
return getClass().getSimpleName() +
"(name: " + getName() + ", size: " + size() + ')';
}
}