diff --git a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java index dc632aee68..e066c2e064 100644 --- a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java +++ b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java @@ -22,9 +22,9 @@ package io.netty.channel; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import io.netty.buffer.ByteBufHolder; +import io.netty.buffer.Unpooled; import io.netty.buffer.UnpooledByteBufAllocator; import io.netty.buffer.UnpooledDirectByteBuf; -import io.netty.buffer.Unpooled; import io.netty.channel.socket.nio.NioSocketChannel; import io.netty.util.Recycler; import io.netty.util.Recycler.Handle; @@ -690,16 +690,16 @@ public final class ChannelOutboundBuffer { } static final class ThreadLocalPooledByteBuf extends UnpooledDirectByteBuf { - private final Recycler.Handle handle; + private final Recycler.Handle handle; private static final Recycler RECYCLER = new Recycler() { @Override - protected ThreadLocalPooledByteBuf newObject(Handle handle) { + protected ThreadLocalPooledByteBuf newObject(Handle handle) { return new ThreadLocalPooledByteBuf(handle); } }; - private ThreadLocalPooledByteBuf(Recycler.Handle handle) { + private ThreadLocalPooledByteBuf(Recycler.Handle handle) { super(UnpooledByteBufAllocator.DEFAULT, 256, Integer.MAX_VALUE); this.handle = handle; }