mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
修复CompressUtil工具多出\问题
This commit is contained in:
parent
0ad2b9e25d
commit
6cd914f4e8
@ -12,8 +12,6 @@
|
||||
|
||||
package org.dromara.hutool.extra.compress.archiver;
|
||||
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.File;
|
||||
import java.util.function.Predicate;
|
||||
@ -43,7 +41,7 @@ public interface Archiver extends Closeable {
|
||||
* @return this
|
||||
*/
|
||||
default Archiver add(final File file, final Predicate<File> predicate) {
|
||||
return add(file, StrUtil.SLASH, predicate);
|
||||
return add(file, null, predicate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user