mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix zip bug
This commit is contained in:
@@ -228,8 +228,8 @@ public class ZipUtil {
|
||||
// 调用递归压缩方法进行目录或文件压缩
|
||||
zip(srcFile, srcRootDir, zipOutputStream, filter);
|
||||
zipOutputStream.flush();
|
||||
zipOutputStream.finish();
|
||||
}
|
||||
zipOutputStream.finish();
|
||||
} catch (IOException e) {
|
||||
throw new IORuntimeException(e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user