Implemented ReplayingDecoderBuffer.toString() properly
This commit is contained in:
parent
7a1963249d
commit
279bd7f0b9
@ -463,7 +463,13 @@ class ReplayingDecoderBuffer implements ChannelBuffer {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return buffer.toString();
|
||||
return getClass().getSimpleName() + '(' +
|
||||
"ridx=" +
|
||||
readerIndex() +
|
||||
", " +
|
||||
"widx=" +
|
||||
writerIndex() +
|
||||
')';
|
||||
}
|
||||
|
||||
public boolean writable() {
|
||||
|
Loading…
Reference in New Issue
Block a user