Fixing 2 typos in codec documentation.

This commit is contained in:
Michael Nitschinger 2013-03-15 13:19:26 +01:00 committed by Trustin Lee
parent e69b99fca4
commit b186342f52
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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}.