mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-06 13:48:00 +08:00
修复Archiver 最后一个 Entry 为空文件夹时未关闭 Entry
This commit is contained in:
parent
5dbe0a7337
commit
0db70ea1d7
@ -192,6 +192,7 @@ public class StreamArchiver implements Archiver {
|
||||
addInternal(childFile, entryName, predicate);
|
||||
}
|
||||
} else {
|
||||
// 空文件夹也需要关闭
|
||||
out.closeArchiveEntry();
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user