mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix code
This commit is contained in:
parent
e2bb215387
commit
50e18c64a0
@ -175,7 +175,7 @@ public class JarClassLoader extends URLClassLoader {
|
|||||||
*/
|
*/
|
||||||
private static boolean isJarFile(final File file) {
|
private static boolean isJarFile(final File file) {
|
||||||
return FileUtil.isFile(file) &&
|
return FileUtil.isFile(file) &&
|
||||||
FileNameUtil.isType(file.getName(), FileNameUtil.EXT_JAR);
|
FileNameUtil.isType(file.getName(), "jar");
|
||||||
}
|
}
|
||||||
// ------------------------------------------------------------------- Private method end
|
// ------------------------------------------------------------------- Private method end
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user