diff --git a/codec/src/main/java/io/netty/handler/codec/ByteToByteCodec.java b/codec/src/main/java/io/netty/handler/codec/ByteToByteCodec.java index 5ace555b68..f8aa592dc1 100644 --- a/codec/src/main/java/io/netty/handler/codec/ByteToByteCodec.java +++ b/codec/src/main/java/io/netty/handler/codec/ByteToByteCodec.java @@ -25,7 +25,7 @@ import io.netty.channel.ChannelPromise; /** * 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}. *
diff --git a/codec/src/main/java/io/netty/handler/codec/MessageToMessageCodec.java b/codec/src/main/java/io/netty/handler/codec/MessageToMessageCodec.java index 503c5b59e2..0cc61a8de3 100644 --- a/codec/src/main/java/io/netty/handler/codec/MessageToMessageCodec.java +++ b/codec/src/main/java/io/netty/handler/codec/MessageToMessageCodec.java @@ -26,7 +26,7 @@ import io.netty.util.internal.TypeParameterMatcher; /** * 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} * and encode from {@link Long} to {@link Integer}.