[java-identity-provider] branch master updated: Fix boolean expression.

Scott Cantor cantor.2 at osu.edu
Thu Feb 27 12:07:49 EST 2020


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=9cd9a42c4c4d9d719849aa03e823f5d8cc6f2b93

The following commit(s) were added to refs/heads/master by this push:
       new  9cd9a42   Fix boolean expression.
9cd9a42 is described below

commit 9cd9a42c4c4d9d719849aa03e823f5d8cc6f2b93
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Feb 27 12:07:46 2020 -0500

    Fix boolean expression.
---
 .../idp/attribute/transcoding/impl/TranscodingRuleLoader.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/TranscodingRuleLoader.java b/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/TranscodingRuleLoader.java
index e0b171f..cde5b66 100644
--- a/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/TranscodingRuleLoader.java
+++ b/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/TranscodingRuleLoader.java
@@ -82,7 +82,7 @@ public class TranscodingRuleLoader {
                     } catch (final IOException e) {
                         log.error("Failed to load rules from directory ({})", file, e);
                     }
-                } else if (!extensions.isEmpty() &&
+                } else if (extensions == null || extensions.isEmpty() ||
                         PredicateSupport.anyMatch((String ext) -> file.getName().endsWith(ext)).test(extensions)) {
                     log.debug("Loading rule from property set in file ({})", file);
                     try {

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


More information about the commits mailing list