[java-identity-provider] 37/51: Javadoc or constraint message typos

Rod Widdowson rdw at steadingsoftware.com
Sat Mar 16 14:29:09 UTC 2024


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

rdw pushed a commit to branch dev/IDP-2147
in repository java-identity-provider.

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

commit 5bcab0c85b4413104934a9799e5d83010ce80d35
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Feb 27 16:50:58 2024 -0600

    Javadoc or constraint message typos
---
 .../src/main/java/net/shibboleth/idp/ui/helper/AttributeHelper.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/idp-ui/src/main/java/net/shibboleth/idp/ui/helper/AttributeHelper.java b/idp-ui/src/main/java/net/shibboleth/idp/ui/helper/AttributeHelper.java
index 350df33be..501724574 100644
--- a/idp-ui/src/main/java/net/shibboleth/idp/ui/helper/AttributeHelper.java
+++ b/idp-ui/src/main/java/net/shibboleth/idp/ui/helper/AttributeHelper.java
@@ -58,7 +58,7 @@ public final class AttributeHelper extends AbstractIdentifiableInitializableComp
      */
     @Nullable public IdPAttributeValue getFirstAttributeValue(@Nonnull final ProfileRequestContext prc,
            @Nonnull @NotEmpty final String attributeName) {
-        Constraint.isNotNull(attributeName, "Attribute Name must be non-niull");
+        Constraint.isNotNull(attributeName, "Attribute Name must be non-null");
         final AttributeContext context = attributeContextStrategy.apply(prc);
         if (context == null) {
             log.error("Attribute Context could not be located");
@@ -103,7 +103,7 @@ public final class AttributeHelper extends AbstractIdentifiableInitializableComp
     @Nullable public IdPAttributeValue getFirstUnfilteredAttributeValue(@Nonnull final ProfileRequestContext prc,
                          @Nonnull @NotEmpty final String attributeName) {
 
-        Constraint.isNotNull(attributeName, "Attribute Name must be non-niull");
+        Constraint.isNotNull(attributeName, "Attribute Name must be non-null");
         final AttributeContext context = attributeContextStrategy.apply(prc);
         if (context == null) {
             log.error("Attribute Context could not be located");
@@ -150,7 +150,7 @@ public final class AttributeHelper extends AbstractIdentifiableInitializableComp
      * 
      * @param attribute the Attribute or null if there wasn't one
      * 
-     * @return the first attribute valkue or null
+     * @return the first attribute value or null
      */
     @Nullable private IdPAttributeValue getFirstValue(@Nullable final IdPAttribute attribute) {
         if (attribute == null) {

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


More information about the commits mailing list