mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +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格式解压
|
//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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user