mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix code
This commit is contained in:
parent
aa6ed1b040
commit
186d58396e
@ -95,7 +95,7 @@ public class StreamArchiver implements Archiver {
|
||||
//issue#I5J33E,支持tgz格式解压
|
||||
try {
|
||||
this.out = new TarArchiveOutputStream(new GzipCompressorOutputStream(targetStream));
|
||||
} catch (IOException e) {
|
||||
} catch (final IOException e) {
|
||||
throw new IORuntimeException(e);
|
||||
}
|
||||
return;
|
||||
@ -150,6 +150,7 @@ public class StreamArchiver implements Archiver {
|
||||
return this;
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
@Override
|
||||
public void close() {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user