[#49] fixed test fail

This commit is contained in:
Jongho Moon
2014-11-19 18:23:27 +09:00
parent 8f0ba6d7d5
commit 8cb643d4f2
@@ -20,7 +20,6 @@ public class PluginLoader {
URL[] jars = findJars(pluginPath);
return new PluginLoader(jars);
}
public PluginLoader(URL[] jars) {
this.jars = jars;
@@ -47,6 +46,10 @@ public class PluginLoader {
private static URL[] findJars(String pluginPath) {
File file = new File(pluginPath);
if (!file.exists() || !file.isDirectory()) {
return new URL[0];
}
File[] jars = file.listFiles(new FilenameFilter() {
@Override