fix example missing break statement in ReplayingDecoder
This commit is contained in:
parent
2fa0b83e73
commit
79195da0d7
@ -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