mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
修复ZipUtil压缩成流的方法检查文件时报错问题
This commit is contained in:
parent
730308af36
commit
26efb16225
@ -303,7 +303,7 @@ public class ZipWriter implements Closeable {
|
||||
}
|
||||
} else {
|
||||
// issue#IAGYDG 检查加入的文件是否为压缩结果文件本身,避免死循环
|
||||
if (null != this.zipFile && FileUtil.equals(file, zipFile)) {
|
||||
if (FileUtil.equals(file, zipFile)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user