From: 艾少波 Date: Fri, 17 Feb 2017 14:21:03 +0000 (+0800) Subject: reset file format X-Git-Tag: release-1.2.0~4^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F125%2Fhead;p=pf4j.git reset file format --- diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractExtensionFinder.java b/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractExtensionFinder.java index 3c2e0c6..8e4a506 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractExtensionFinder.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractExtensionFinder.java @@ -78,7 +78,7 @@ public abstract class AbstractExtensionFinder implements ExtensionFinder, Plugin // classpath's extensions <=> pluginId = null Set classNames = findClassNames(pluginId); - if (classNames.isEmpty()) { + if (classNames == null || classNames.isEmpty()) { return result; }