delete unuse code
parent
f23d6924fd
commit
ad24f4c7ed
|
@ -17,7 +17,6 @@ public class TeaDecoder extends ByteToMessageDecoder {
|
|||
@Override
|
||||
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) {
|
||||
String secret_key = "";
|
||||
System.out.println("the object" + in + Thread.currentThread().getName() + "------------- " +ctx);
|
||||
|
||||
try {
|
||||
in.markReaderIndex();
|
||||
|
@ -25,7 +24,6 @@ public class TeaDecoder extends ByteToMessageDecoder {
|
|||
for (int i = 0; i < buf.length; i ++) {
|
||||
if (!in.isReadable()) {
|
||||
in.resetReaderIndex();
|
||||
System.out.println("------");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue