disable gc for zip entries

This commit is contained in:
Dennis Ushakov
2018-09-27 14:54:20 +03:00
parent 839e357bb9
commit 35ffbf37a5
@@ -438,12 +438,12 @@ public class JBZipFile implements Closeable {
}
public void gc() throws IOException {
if (myOutputStream != null) {
myOutputStream.finish();
myOutputStream = null;
currentCfdOffset = 0;
}
getOutputStream().finish();
//if (myOutputStream != null) {
// myOutputStream.finish();
// myOutputStream = null;
//currentCfdOffset = 0;
//}
//getOutputStream().finish();
}
JBZipOutputStream getOutputStream() throws IOException {