do not flush on closed stream (#4250)

This commit is contained in:
Pierre 2017-05-05 01:19:20 +01:00 committed by Gian Merlino
parent 417714d228
commit e9872f0695

View File

@ -398,7 +398,6 @@ public class JobHelper
progressable
)) {
size.set(zipAndCopyDir(mergedBase, outputStream, progressable));
outputStream.flush();
}
catch (IOException | RuntimeException exception) {
log.error(exception, "Exception in retry loop");