diff options
author | GunoH <GunoH@users.noreply.github.com> | 2020-02-11 10:15:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 11:15:33 +0200 |
commit | f1dcdf8920f96f5dbb8515aeec402e9d3d7562c4 (patch) | |
tree | 441dd037725cc90ea6b24c65a03b1cde63853763 /pf4j | |
parent | ed1f7fde6e3369dfdb4597ca22f0af839c54ce72 (diff) | |
download | pf4j-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.java | 2 |
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()); |