diff --git a/codec/src/main/java/io/netty/handler/codec/ReplayingDecoder.java b/codec/src/main/java/io/netty/handler/codec/ReplayingDecoder.java index 29ca85f9de..5495c14650 100644 --- a/codec/src/main/java/io/netty/handler/codec/ReplayingDecoder.java +++ b/codec/src/main/java/io/netty/handler/codec/ReplayingDecoder.java @@ -190,6 +190,7 @@ import java.util.List; * ByteBuf frame = buf.readBytes(length); * checkpoint(MyDecoderState.READ_LENGTH); * out.add(frame); + * break; * default: * throw new Error("Shouldn't reach here."); * }