@Test public void testRelease() { uncompressor.setCaching(true); Inflater inflater1 = uncompressor.createOrResetInflater(); uncompressor.release(); Inflater inflater2 = uncompressor.createOrResetInflater(); Assert.assertNotSame(inflater1, inflater2); }
public void release() { if (inflater != null) { inflater.end(); inflater = null; } }
DeflateUncompressor implements Uncompressor { public void release() { if (inflater != null) { inflater.end(); inflater = null; } } }
DeflateUncompressor implements Uncompressor { public void release() { if (inflater != null) { inflater.end(); inflater = null; } }  }
DeflateUncompressor implements Uncompressor { public void release() { if (inflater != null) { inflater.end(); inflater = null; } }  boolean isNowrap(); int getInputBufferSize(); void setInputBufferSize(int inputBufferSize); int getOutputBufferSize(); void setOutputBufferSize(int outputBufferSize); void setNowrap(boolean nowrap); boolean isCaching(); void setCaching(boolean caching); void release(); @Override void uncompress(InputStream compressedIn, OutputStream uncompressedOut); }
DeflateUncompressor implements Uncompressor { public void release() { if (inflater != null) { inflater.end(); inflater = null; } }  boolean isNowrap(); int getInputBufferSize(); void setInputBufferSize(int inputBufferSize); int getOutputBufferSize(); void setOutputBufferSize(int outputBufferSize); void setNowrap(boolean nowrap); boolean isCaching(); void setCaching(boolean caching); void release(); @Override void uncompress(InputStream compressedIn, OutputStream uncompressedOut);  }