diff options
author | 艾少波 <pd-shaobo@qq.com> | 2017-02-17 22:21:03 +0800 |
---|---|---|
committer | 艾少波 <pd-shaobo@qq.com> | 2017-02-17 22:21:03 +0800 |
commit | a2d25030f1251e7f32f4fba2097b59ae6c56b6ee (patch) | |
tree | be3c45726bd0d81d8197c167952b19d97a28ffaa /pf4j | |
parent | e19e7c1c73bb93bd8234123bca9192ad6b0b21a9 (diff) | |
download | pf4j-a2d25030f1251e7f32f4fba2097b59ae6c56b6ee.tar.gz pf4j-a2d25030f1251e7f32f4fba2097b59ae6c56b6ee.zip |
reset file format
Diffstat (limited to 'pf4j')
-rw-r--r-- | pf4j/src/main/java/ro/fortsoft/pf4j/AbstractExtensionFinder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> classNames = findClassNames(pluginId); - if (classNames.isEmpty()) { + if (classNames == null || classNames.isEmpty()) { return result; } |