Prettier DefaultChannelGroup.toString()
This commit is contained in:
parent
1896c90207
commit
b22a578538
@ -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() + ')';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user