diff --git a/src/main/java/org/jboss/netty/handler/codec/frame/FrameDecoder.java b/src/main/java/org/jboss/netty/handler/codec/frame/FrameDecoder.java index e686335732..804a1607b1 100644 --- a/src/main/java/org/jboss/netty/handler/codec/frame/FrameDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/frame/FrameDecoder.java @@ -281,9 +281,6 @@ public abstract class FrameDecoder extends SimpleChannelUpstreamHandler implemen assert cumulation.readable(); // wrap the cumulation and input - // - // We use a CompositeBuffer all the time as its always faster the - // byte-copy if the wrapped buffer count == 2 ChannelBuffer buf = ChannelBuffers.wrappedBuffer(cumulation, input); cumulation = buf;