mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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);
|
||||
continue;
|
||||
}
|
||||
if (path.endsWith(".jar")) {
|
||||
if (path.toString().endsWith(".jar")) {
|
||||
if (!seenJars.add(path)) {
|
||||
logger.debug("excluding duplicate classpath element: {}", path);
|
||||
continue; // we can't fail because of sheistiness with joda-time
|
||||
|
Loading…
x
Reference in New Issue
Block a user