StringDecoder.decode() should be protected

This commit is contained in:
Trustin Lee 2008-12-17 08:19:44 +00:00
parent 7fddc9ddfa
commit 49fb59fe32

View File

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