Fixing 2 typos in codec documentation.
This commit is contained in:
parent
e69b99fca4
commit
b186342f52
@ -25,7 +25,7 @@ import io.netty.channel.ChannelPromise;
|
|||||||
/**
|
/**
|
||||||
* A Codec for on-the-fly encoding/decoding of bytes.
|
* A Codec for on-the-fly encoding/decoding of bytes.
|
||||||
*
|
*
|
||||||
* This can be though of an combination of {@link ByteToByteDecoder} and {@link ByteToByteEncoder}.
|
* This can be thought of as a combination of {@link ByteToByteDecoder} and {@link ByteToByteEncoder}.
|
||||||
*
|
*
|
||||||
* Here is an example of a {@link ByteToByteCodec} which just square {@link Integer} read from a {@link ByteBuf}.
|
* Here is an example of a {@link ByteToByteCodec} which just square {@link Integer} read from a {@link ByteBuf}.
|
||||||
* <pre>
|
* <pre>
|
||||||
|
@ -26,7 +26,7 @@ import io.netty.util.internal.TypeParameterMatcher;
|
|||||||
/**
|
/**
|
||||||
* A Codec for on-the-fly encoding/decoding of message.
|
* A Codec for on-the-fly encoding/decoding of message.
|
||||||
*
|
*
|
||||||
* This can be though of an combination of {@link MessageToMessageDecoder} and {@link MessageToMessageEncoder}.
|
* This can be thought of as a combination of {@link MessageToMessageDecoder} and {@link MessageToMessageEncoder}.
|
||||||
*
|
*
|
||||||
* Here is an example of a {@link MessageToMessageCodec} which just decode from {@link Integer} to {@link Long}
|
* Here is an example of a {@link MessageToMessageCodec} which just decode from {@link Integer} to {@link Long}
|
||||||
* and encode from {@link Long} to {@link Integer}.
|
* and encode from {@link Long} to {@link Integer}.
|
||||||
|
Loading…
Reference in New Issue
Block a user