StringDecoder.decode() should be protected
This commit is contained in:
parent
7fddc9ddfa
commit
49fb59fe32
@ -100,7 +100,7 @@ public class StringDecoder extends OneToOneDecoder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object decode(
|
protected Object decode(
|
||||||
ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception {
|
ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception {
|
||||||
if (!(msg instanceof ChannelBuffer)) {
|
if (!(msg instanceof ChannelBuffer)) {
|
||||||
return msg;
|
return msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user