Reduced the number of isConnected() calls in AbstractChannel.toString()
This commit is contained in:
parent
d50322f27f
commit
a698db26c9
@ -229,7 +229,7 @@ public abstract class AbstractChannel implements Channel {
|
||||
buf.append("(id: ");
|
||||
buf.append(id.toString());
|
||||
|
||||
if (isConnected()) {
|
||||
if (connected) {
|
||||
buf.append(", ");
|
||||
if (getParent() == null) {
|
||||
buf.append(getLocalAddress());
|
||||
|
Loading…
Reference in New Issue
Block a user