fix example missing break statement in ReplayingDecoder

This commit is contained in:
xmxsuperstar 2014-06-28 22:55:49 +08:00 committed by Norman Maurer
parent 2fa0b83e73
commit 79195da0d7

View File

@ -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.");
* } * }