aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j/src/main/java
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2019-03-12 20:28:47 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2019-03-12 20:28:47 +0200
commit4eeaf8ab558da4a6974e4cb5deccc57c32d620f9 (patch)
tree071647b703a1b645a5b54cbf3557016a20484505 /pf4j/src/main/java
parent6dd7a6069f0e2fbd842c81e2c8c388918b88ea81 (diff)
downloadpf4j-#294.tar.gz
pf4j-#294.zip
Resolve #294#294
Diffstat (limited to 'pf4j/src/main/java')
-rw-r--r--pf4j/src/main/java/org/pf4j/DefaultPluginManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java
index 96a4104..7e90388 100644
--- a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java
+++ b/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java
@@ -89,15 +89,15 @@ public class DefaultPluginManager extends AbstractPluginManager {
@Override
protected PluginRepository createPluginRepository() {
return new CompoundPluginRepository()
- .add(new DefaultPluginRepository(getPluginsRoot(), isDevelopment()))
- .add(new JarPluginRepository(getPluginsRoot()));
+ .add(new JarPluginRepository(getPluginsRoot()))
+ .add(new DefaultPluginRepository(getPluginsRoot(), isDevelopment()));
}
@Override
protected PluginLoader createPluginLoader() {
return new CompoundPluginLoader()
- .add(new DefaultPluginLoader(this, pluginClasspath))
- .add(new JarPluginLoader(this));
+ .add(new JarPluginLoader(this))
+ .add(new DefaultPluginLoader(this, pluginClasspath));
}
@Override