mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
Merge branch 'v6-dev' of gitee.com:dromara/hutool into v6-dev
This commit is contained in:
commit
19bff248f6
@ -175,7 +175,7 @@ public class JarClassLoader extends URLClassLoader {
|
||||
*/
|
||||
private static boolean isJarFile(final File file) {
|
||||
return FileUtil.isFile(file) &&
|
||||
FileNameUtil.isType(file.getName(), FileNameUtil.EXT_JAR);
|
||||
FileNameUtil.isType(file.getName(), "jar");
|
||||
}
|
||||
// ------------------------------------------------------------------- Private method end
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user