Skip to content

Commit

Permalink
Fix #23772: Fix logging issue which indicated that a dependency was n…
Browse files Browse the repository at this point in the history
…ot found

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19168 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Aug 6, 2024
1 parent 873c9a2 commit fb8d78f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/org/openstreetmap/josm/plugins/PluginHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -968,13 +968,16 @@ private static void resolveDependencies(List<PluginInformation> toLoad) {
if (finished) {
continue;
}
boolean found = false;
for (PluginProxy proxy : pluginList) {
if (isDependency(proxy.getPluginInformation(), depName)) {
cl.addDependency(proxy.getClassLoader());
found = cl.addDependency(proxy.getClassLoader());
break;
}
}
Logging.error("unable to find dependency " + depName + " for plugin " + info.getName());
if (!found) {
Logging.error("unable to find dependency " + depName + " for plugin " + info.getName());
}
}
}
}
Expand Down

0 comments on commit fb8d78f

Please sign in to comment.