delete unuse code

back_recharge
wangyuan 2020-03-24 10:58:25 +08:00
parent f23d6924fd
commit ad24f4c7ed
1 changed files with 0 additions and 2 deletions

View File

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