修复CompressUtil工具多出\问题

This commit is contained in:
Looly 2024-04-15 11:16:29 +08:00
parent 8e91ef2938
commit 6fc1ba09d9
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# 🚀Changelog
-------------------------------------------------------------------------------------------------------------
# 5.8.28(2024-04-11)
# 5.8.28(2024-04-15)
### 🐣新特性
* 【core 】 修正XmlUtil的omitXmlDeclaration描述注释issue#I9CPC7@Gitee
@ -14,6 +14,7 @@
### 🐞Bug修复
* 【http 】 修复HttpUtil.urlWithFormUrlEncoded方法重复编码问题issue#3536@Github
* 【core 】 修复FileMagicNumber.getMagicNumber空指针问题issue#I9FE8B@Gitee
* 【extra 】 修复CompressUtil工具多出\问题issue#I71K5V@Gitee
-------------------------------------------------------------------------------------------------------------
# 5.8.27(2024-03-29)

View File

@ -31,7 +31,7 @@ public interface Archiver extends Closeable {
* @return this
*/
default Archiver add(File file, Filter<File> filter) {
return add(file, StrUtil.SLASH, filter);
return add(file, null, filter);
}
/**