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:
水木今山 2020-03-23 20:09:21 +08:00 committed by GitHub
parent fcf7144f7c
commit 4d7d249cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ import java.util.List;
* extends {@link ReplayingDecoder}&lt;{@link Void}&gt; { * extends {@link ReplayingDecoder}&lt;{@link Void}&gt; {
* *
* protected void decode({@link ChannelHandlerContext} ctx, * protected void decode({@link ChannelHandlerContext} ctx,
* {@link ByteBuf} buf) throws Exception { * {@link ByteBuf} buf, List&lt;Object&gt; out) throws Exception {
* *
* out.add(buf.readBytes(buf.readInt())); * out.add(buf.readBytes(buf.readInt()));
* } * }