[java-shib-attribute] branch main updated: JSATTR-44 Align IdPAttribute.hashCode() and IdPAttribute.equals()

Rod Widdowson rdw at steadingsoftware.com
Sun Apr 20 12:34:24 UTC 2025


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

rdw 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=789f274791ac4f2733f92b942721342def0008ac

The following commit(s) were added to refs/heads/main by this push:
     new 789f27479 JSATTR-44 Align IdPAttribute.hashCode() and IdPAttribute.equals()
789f27479 is described below

commit 789f274791ac4f2733f92b942721342def0008ac
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Apr 20 13:33:26 2025 +0100

    JSATTR-44 Align IdPAttribute.hashCode() and IdPAttribute.equals()
    
    https://shibboleth.atlassian.net/browse/JSATTR-44
---
 .../src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java b/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java
index 58aa38893..dd2255264 100644
--- a/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java
+++ b/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java
@@ -180,7 +180,7 @@ public class IdPAttribute implements Comparable<IdPAttribute>, Cloneable {
     /** {@inheritDoc} */
     @Override
     public int hashCode() {
-        return Objects.hashCode(id, values);
+        return Objects.hashCode(id);
     }
 
     /** {@inheritDoc} */

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


More information about the commits mailing list