Browse Source

Check proper list for debug logging (#366)

pull/370/head
GunoH 5 years ago committed by GitHub
parent
commit
f1dcdf8920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java

2
pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java

@ -63,7 +63,7 @@ public abstract class AbstractExtensionFinder implements ExtensionFinder, Plugin
result.addAll(pluginExtensions);
}
if (entries.isEmpty()) {
if (result.isEmpty()) {
log.debug("No extensions found for extension point '{}'", type.getName());
} else {
log.debug("Found {} extensions for extension point '{}'", result.size(), type.getName());

Loading…
Cancel
Save