Browse Source

Fix #250

pull/255/head
Decebal Suiu 6 years ago
parent
commit
326eacc443
  1. 2
      pf4j/src/main/java/org/pf4j/DependencyResolver.java

2
pf4j/src/main/java/org/pf4j/DependencyResolver.java

@ -88,7 +88,7 @@ public class DependencyResolver {
String pluginId = plugin.getPluginId(); String pluginId = plugin.getPluginId();
String existingVersion = plugin.getVersion(); String existingVersion = plugin.getVersion();
List<String> dependents = getDependents(pluginId); List<String> dependents = new ArrayList<>(getDependents(pluginId));
while (!dependents.isEmpty()) { while (!dependents.isEmpty()) {
String dependentId = dependents.remove(0); String dependentId = dependents.remove(0);
PluginDescriptor dependent = pluginByIds.get(dependentId); PluginDescriptor dependent = pluginByIds.get(dependentId);

Loading…
Cancel
Save