fix broken usage of path api
This commit is contained in:
parent
5d059313dc
commit
5b4e86389c
|
@ -90,7 +90,7 @@ public class JarHell {
|
||||||
logger.debug("excluding system resource: {}", path);
|
logger.debug("excluding system resource: {}", path);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (path.endsWith(".jar")) {
|
if (path.toString().endsWith(".jar")) {
|
||||||
if (!seenJars.add(path)) {
|
if (!seenJars.add(path)) {
|
||||||
logger.debug("excluding duplicate classpath element: {}", path);
|
logger.debug("excluding duplicate classpath element: {}", path);
|
||||||
continue; // we can't fail because of sheistiness with joda-time
|
continue; // we can't fail because of sheistiness with joda-time
|
||||||
|
|
Loading…
Reference in New Issue