remove comment
This commit is contained in:
parent
e65ada39e7
commit
4caed67c99
1 changed files with 3 additions and 1 deletions
|
|
@ -85,8 +85,10 @@ public class SplitZipWriter implements Closeable {
|
||||||
switchOutputFile();
|
switchOutputFile();
|
||||||
}
|
}
|
||||||
LOG.info("Writing file {} to zip", path);
|
LOG.info("Writing file {} to zip", path);
|
||||||
|
long entryStartBytes = countingOutputStream.getCount();
|
||||||
zipOutputStream.putNextEntry(new ZipEntry(path));
|
zipOutputStream.putNextEntry(new ZipEntry(path));
|
||||||
bytesWritten += IOUtils.copyLarge(inputStream, zipOutputStream);
|
IOUtils.copyLarge(inputStream, zipOutputStream);
|
||||||
|
bytesWritten += countingOutputStream.getCount() - entryStartBytes;
|
||||||
zipOutputStream.closeEntry();
|
zipOutputStream.closeEntry();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue