diff --git a/src/main/java/org/jboss/netty/handler/codec/string/StringDecoder.java b/src/main/java/org/jboss/netty/handler/codec/string/StringDecoder.java index e6cb5d107a..69ebb8c08d 100644 --- a/src/main/java/org/jboss/netty/handler/codec/string/StringDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/string/StringDecoder.java @@ -50,7 +50,7 @@ import org.jboss.netty.handler.codec.oneone.OneToOneDecoder; * // Encoder * pipeline.addLast("stringEncoder", new {@link StringEncoder}("UTF-8")); * - * and then you can use {@link String}s instead of {@link ChannelBuffer}s + * and then you can use a {@link String} instead of a {@link ChannelBuffer} * as a message: *
* void messageReceived(ChannelHandlerContext ctx, MessageEvent e) { diff --git a/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java b/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java index b13cf5beaa..55212706f1 100644 --- a/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java @@ -37,7 +37,7 @@ import org.jboss.netty.handler.codec.oneone.OneToOneEncoder; /** * Encodes the requested {@link String} into a {@link ChannelBuffer}. - * The typical setup for a text-based line protocol in a TCP/IP socket would be: + * A typical setup for a text-based line protocol in a TCP/IP socket would be: ** {@link ChannelPipeline} pipeline = ...; * @@ -48,7 +48,7 @@ import org.jboss.netty.handler.codec.oneone.OneToOneEncoder; * // Encoder * pipeline.addLast("stringEncoder", new {@link StringEncoder}("UTF-8")); *- * and then you can use {@link String}s instead of {@link ChannelBuffer}s + * and then you can use a {@link String} instead of a {@link ChannelBuffer} * as a message: ** void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {