修复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

@@ -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);
}
/**