This commit is contained in:
Looly 2023-05-17 00:11:34 +08:00
parent aa6ed1b040
commit 186d58396e

View File

@ -95,7 +95,7 @@ public class StreamArchiver implements Archiver {
//issue#I5J33E支持tgz格式解压 //issue#I5J33E支持tgz格式解压
try { try {
this.out = new TarArchiveOutputStream(new GzipCompressorOutputStream(targetStream)); this.out = new TarArchiveOutputStream(new GzipCompressorOutputStream(targetStream));
} catch (IOException e) { } catch (final IOException e) {
throw new IORuntimeException(e); throw new IORuntimeException(e);
} }
return; return;
@ -150,6 +150,7 @@ public class StreamArchiver implements Archiver {
return this; return this;
} }
@SuppressWarnings("resource")
@Override @Override
public void close() { public void close() {
try { try {