Fix a mistake in javadoc of ReplayingDecoder (#10129)
Motivation: In the code example of ReplayingDecoder, an input parameter List<Object> out is missing. Modification: Just add this parameter. Result: The right doc.
This commit is contained in:
parent
fcf7144f7c
commit
4d7d249cc3
@ -64,7 +64,7 @@ import java.util.List;
|
||||
* extends {@link ReplayingDecoder}<{@link Void}> {
|
||||
*
|
||||
* protected void decode({@link ChannelHandlerContext} ctx,
|
||||
* {@link ByteBuf} buf) throws Exception {
|
||||
* {@link ByteBuf} buf, List<Object> out) throws Exception {
|
||||
*
|
||||
* out.add(buf.readBytes(buf.readInt()));
|
||||
* }
|
||||
|
Loading…
Reference in New Issue
Block a user