Skip to content

Commit

Permalink
Fix #250
Browse files Browse the repository at this point in the history
  • Loading branch information
decebals committed Nov 22, 2018
1 parent 74865ee commit 326eacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pf4j/src/main/java/org/pf4j/DependencyResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public Result resolve(List<PluginDescriptor> plugins) {
String pluginId = plugin.getPluginId();
String existingVersion = plugin.getVersion();

List<String> dependents = getDependents(pluginId);
List<String> dependents = new ArrayList<>(getDependents(pluginId));
while (!dependents.isEmpty()) {
String dependentId = dependents.remove(0);
PluginDescriptor dependent = pluginByIds.get(dependentId);
Expand Down

0 comments on commit 326eacc

Please sign in to comment.