Skip to content

Commit

Permalink
StyleFix
Browse files Browse the repository at this point in the history
  • Loading branch information
peisun1115 committed Dec 22, 2016
1 parent 61d7b1d commit 6ab58a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
import io.netty.util.ReferenceCountUtil;

import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -266,7 +265,7 @@ private void closePacketReader() {
* @param packet the packet
*/
private void destroyPacket(ByteBuf packet) {
ReferenceCountUtil.release(packet);
packet.release();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import javax.annotation.concurrent.NotThreadSafe;
Expand Down

0 comments on commit 6ab58a5

Please sign in to comment.