Removed unnecessary code.
This commit is contained in:
parent
d5ff4fa075
commit
a4d7b4c4dc
|
@ -22,11 +22,9 @@ import org.eclipse.jetty.io.ByteBufferPool;
|
|||
|
||||
/**
|
||||
* {@link ContentDecoder} for the "gzip" encoding.
|
||||
*
|
||||
*/
|
||||
public class GZIPContentDecoder extends org.eclipse.jetty.http.GZIPContentDecoder implements ContentDecoder
|
||||
{
|
||||
|
||||
private static final int DEFAULT_BUFFER_SIZE = 2048;
|
||||
|
||||
public GZIPContentDecoder()
|
||||
|
|
|
@ -101,7 +101,6 @@ public class GZIPContentDecoder implements Destroyable
|
|||
if (size<=_inflated.capacity())
|
||||
{
|
||||
BufferUtil.append(_inflated,chunk);
|
||||
BufferUtil.put(chunk,_inflated);
|
||||
release(chunk);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue