Prettier toString()

This commit is contained in:
Trustin Lee 2009-01-07 09:07:35 +00:00
parent 66b1960979
commit 8d32011275

View File

@ -103,9 +103,9 @@ public class DefaultChannelStateEvent extends DefaultChannelEvent implements
buf.append("OP_READ_WRITE"); buf.append("OP_READ_WRITE");
break; break;
default: default:
buf.append("OP_"); buf.append("UNKNOWN(");
buf.append(getValue()); buf.append(getValue());
buf.append(" (?)"); buf.append(')');
} }
} }
buf.append(')'); buf.append(')');