[java-shib-attribute] branch main updated: Javadoc nit.

Scott Cantor cantor.2 at osu.edu
Wed Aug 10 12:55:35 UTC 2022


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=81cd5af71127e790944b0546d5eb46be145034eb

The following commit(s) were added to refs/heads/main by this push:
     new 81cd5af71 Javadoc nit.
81cd5af71 is described below

commit 81cd5af71127e790944b0546d5eb46be145034eb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Aug 10 08:55:32 2022 -0400

    Javadoc nit.
---
 .../idp/attribute/resolver/ad/impl/SimpleAttributeDefinition.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/SimpleAttributeDefinition.java b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/SimpleAttributeDefinition.java
index 92181397a..ee63d26e8 100644
--- a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/SimpleAttributeDefinition.java
+++ b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/SimpleAttributeDefinition.java
@@ -27,6 +27,7 @@ import net.shibboleth.idp.attribute.EmptyAttributeValue;
 import net.shibboleth.idp.attribute.IdPAttribute;
 import net.shibboleth.idp.attribute.IdPAttributeValue;
 import net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition;
+import net.shibboleth.idp.attribute.resolver.AttributeDefinition;
 import net.shibboleth.idp.attribute.resolver.PluginDependencySupport;
 import net.shibboleth.idp.attribute.resolver.ResolutionException;
 import net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext;
@@ -35,8 +36,8 @@ import net.shibboleth.utilities.java.support.component.ComponentInitializationEx
 import net.shibboleth.utilities.java.support.logic.Constraint;
 
 /**
- * A {@link net.shibboleth.idp.attribute.resolver.AttributeDefinition} that creates an attribute whose values are the
- * values the values of all its dependencies.
+ * An {@link AttributeDefinition} that creates an attribute whose values are the
+ * values of all its dependencies.
  */
 @ThreadSafe
 public class SimpleAttributeDefinition extends AbstractAttributeDefinition {
@@ -72,7 +73,7 @@ public class SimpleAttributeDefinition extends AbstractAttributeDefinition {
         if (isStripNulls()) {
             result.setValues(
                     values.stream().
-                    filter(e -> (e!=null) && !(e instanceof EmptyAttributeValue)).
+                    filter(e -> e != null && !(e instanceof EmptyAttributeValue)).
                     collect(Collectors.toUnmodifiableList()));
         } else {
             result.setValues(values);

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


More information about the commits mailing list