diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2018-11-22 22:33:09 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2018-11-22 22:33:09 +0200 |
commit | 326eacc4439430223cc001d805ff4cec2e2642b0 (patch) | |
tree | 98459d0d1d2da9d7c0207ea2b841f29eefcd09b0 | |
parent | 74865ee6da538e7133a1860124613e645388cd6b (diff) | |
download | pf4j-326eacc4439430223cc001d805ff4cec2e2642b0.tar.gz pf4j-326eacc4439430223cc001d805ff4cec2e2642b0.zip |
Fix #250
-rw-r--r-- | pf4j/src/main/java/org/pf4j/DependencyResolver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/DependencyResolver.java b/pf4j/src/main/java/org/pf4j/DependencyResolver.java index 26999bd..1e86314 100644 --- a/pf4j/src/main/java/org/pf4j/DependencyResolver.java +++ b/pf4j/src/main/java/org/pf4j/DependencyResolver.java @@ -88,7 +88,7 @@ public class DependencyResolver { 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); |