From a2d25030f1251e7f32f4fba2097b59ae6c56b6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E5=B0=91=E6=B3=A2?= Date: Fri, 17 Feb 2017 22:21:03 +0800 Subject: [PATCH] reset file format --- .../src/main/java/ro/fortsoft/pf4j/AbstractExtensionFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }