[java-identity-provider] branch master updated: Fix inadvertent warning with null check.

Scott Cantor cantor.2 at osu.edu
Thu Aug 15 11:23:30 EDT 2019


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

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=82515a510368f5381687ddc5b81982c0880a6c10

The following commit(s) were added to refs/heads/master by this push:
       new  82515a5   Fix inadvertent warning with null check.
82515a5 is described below

commit 82515a510368f5381687ddc5b81982c0880a6c10
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 15 11:23:27 2019 -0400

    Fix inadvertent warning with null check.
---
 .../idp/attribute/transcoding/impl/AttributeTranscoderRegistryImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeTranscoderRegistryImpl.java b/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeTranscoderRegistryImpl.java
index 1162b6b..871d915 100644
--- a/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeTranscoderRegistryImpl.java
+++ b/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeTranscoderRegistryImpl.java
@@ -344,7 +344,7 @@ public class AttributeTranscoderRegistryImpl extends AbstractServiceableComponen
             } catch (final Exception e) {
                 log.error("Unable to locate Predicate bean named {}", baseCondition, e);
             }
-        } else {
+        } else if (baseCondition != null) {
             log.error("{} property did not contain a Predicate object, ignored", PROP_CONDITION);
         }
 

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


More information about the commits mailing list