fix example missing break statement in ReplayingDecoder
This commit is contained in:
parent
0ee7f9764e
commit
85993e10c1
@ -190,6 +190,7 @@ import java.util.List;
|
|||||||
* ByteBuf frame = buf.readBytes(length);
|
* ByteBuf frame = buf.readBytes(length);
|
||||||
* <strong>checkpoint(MyDecoderState.READ_LENGTH);</strong>
|
* <strong>checkpoint(MyDecoderState.READ_LENGTH);</strong>
|
||||||
* out.add(frame);
|
* out.add(frame);
|
||||||
|
* break;
|
||||||
* default:
|
* default:
|
||||||
* throw new Error("Shouldn't reach here.");
|
* throw new Error("Shouldn't reach here.");
|
||||||
* }
|
* }
|
||||||
|
Loading…
Reference in New Issue
Block a user