aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
mode:
authorGunoH <GunoH@users.noreply.github.com>2020-02-11 10:15:33 +0100
committerGitHub <noreply@github.com>2020-02-11 11:15:33 +0200
commitf1dcdf8920f96f5dbb8515aeec402e9d3d7562c4 (patch)
tree441dd037725cc90ea6b24c65a03b1cde63853763 /pf4j
parented1f7fde6e3369dfdb4597ca22f0af839c54ce72 (diff)
downloadpf4j-f1dcdf8920f96f5dbb8515aeec402e9d3d7562c4.tar.gz
pf4j-f1dcdf8920f96f5dbb8515aeec402e9d3d7562c4.zip
Check proper list for debug logging (#366)
Diffstat (limited to 'pf4j')
-rw-r--r--pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java b/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java
index 3cfbc7e..0862501 100644
--- a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java
+++ b/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());