fix typo causing incorrect plugin properties lookup in jars
relates #5261
This commit is contained in:
parent
bf19dc699a
commit
6e955e682b
|
@ -115,7 +115,7 @@ public final class PluginUtils {
|
||||||
try {
|
try {
|
||||||
JarEntry jarEntry = jar.getJarEntry("es-plugin.properties");
|
JarEntry jarEntry = jar.getJarEntry("es-plugin.properties");
|
||||||
if (jarEntry != null) {
|
if (jarEntry != null) {
|
||||||
found.add(new URL("jar:" + file.toURI().toString() + "!/es.plugin.properties"));
|
found.add(new URL("jar:" + file.toURI().toString() + "!/es-plugin.properties"));
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
IOUtils.closeWhileHandlingException(jar);
|
IOUtils.closeWhileHandlingException(jar);
|
||||||
|
|
Loading…
Reference in New Issue