shorten method name
@@ -263,7 +263,7 @@ public void writeTo(final ZipArchiveOutputStream targetStream)
scatterDoneAt = System.currentTimeMillis();
} finally {
- ensureStreamsAreClosed();
+ closeAll();
}
}
@@ -276,7 +276,7 @@ public ScatterStatistics getStatisticsMessage() {
return new ScatterStatistics(compressionDoneAt - startedAt, scatterDoneAt - compressionDoneAt);
}
- private void ensureStreamsAreClosed() {
+ private void closeAll() {
synchronized (streams) {
for (final ScatterZipOutputStream scatterStream : streams) {
try {
