From 49fb59fe32677a1d40c4f787f392c71b14d9f53a Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 17 Dec 2008 08:19:44 +0000 Subject: [PATCH] StringDecoder.decode() should be protected --- .../org/jboss/netty/handler/codec/string/StringDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4e35f31642..b2d53d3d5f 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 @@ -100,7 +100,7 @@ public class StringDecoder extends OneToOneDecoder { } @Override - public Object decode( + protected Object decode( ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception { if (!(msg instanceof ChannelBuffer)) { return msg;