This reverts commit
75d9b31f14d6226a535a80c05cffda29e55d2ceb.
Now that we do not try to close the ArchiveOutputStream in the error
path, there is no need to artificially close partial entries from
before the error.
Change-Id: I1f1cb08ec4e9b14c79bf4621f3fa959463034b82
Signed-off-by: Jonathan Nieder <jrn@google.com>
}
entry.setSize(loader.getSize());
out.putArchiveEntry(entry);
- try {
- loader.copyTo(out);
- } finally {
- out.closeArchiveEntry();
- }
+ loader.copyTo(out);
+ out.closeArchiveEntry();
}
public Iterable<String> suffixes() {
}
entry.setSize(loader.getSize());
out.putArchiveEntry(entry);
- try {
- loader.copyTo(out);
- } finally {
- out.closeArchiveEntry();
- }
+ loader.copyTo(out);
+ out.closeArchiveEntry();
}
public Iterable<String> suffixes() {