[java-shib-profile] branch main updated: Adjust logging around plugin version access.

Scott Cantor cantor.2 at osu.edu
Fri Sep 8 14:11:52 UTC 2023


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-shib-profile.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-profile.git;a=commit;h=6b06bdef04677e788807690bdc0a3983a6cac961

The following commit(s) were added to refs/heads/main by this push:
     new 6b06bde  Adjust logging around plugin version access.
6b06bde is described below

commit 6b06bdef04677e788807690bdc0a3983a6cac961
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Sep 8 10:11:49 2023 -0400

    Adjust logging around plugin version access.
---
 .../java/net/shibboleth/profile/plugin/PropertyDrivenPlugin.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/PropertyDrivenPlugin.java b/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/PropertyDrivenPlugin.java
index 59b8ecf..b855662 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/PropertyDrivenPlugin.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/PropertyDrivenPlugin.java
@@ -42,6 +42,8 @@ import net.shibboleth.shared.primitive.StringSupport;
 /**
  * Implementation of {@link Plugin} relying on Java {@link Properties}.
  * 
+ * @param <T> module type
+ * 
  * @since 4.1.0
  */
 public abstract class PropertyDrivenPlugin<T extends Module> extends AbstractPlugin<T> implements Plugin<T> {
@@ -135,8 +137,7 @@ public abstract class PropertyDrivenPlugin<T extends Module> extends AbstractPlu
             if (version == null) {
                 throw new PluginException("No plugin version property or package attribute available for " + pluginId);
             }
-        } else {
-            log.debug("Ignoring plugin '{}' version property in favor of package manifest", pluginId);
+            log.debug("Using plugin '{}' version property in favor of absent package manifest", pluginId);
         }
         
         try {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list