[java-opensaml2 COMMIT] in /branches/REL_2: doc/RELEASE-NOTES.txt src/main/java/org/opensaml/common/impl/AbstractSAML...

noreply at shibboleth.net noreply at shibboleth.net
Wed Apr 17 13:33:28 EDT 2013


Author: putmanb
Date: Wed Apr 17 13:33:28 2013
New Revision: 1651

URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1651&view=rev
Log:
JOST-201: AbstractSAMLObject should not override equals but not hashCode

Modified:
    branches/REL_2/doc/RELEASE-NOTES.txt
    branches/REL_2/src/main/java/org/opensaml/common/impl/AbstractSAMLObject.java

Modified: branches/REL_2/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/doc/RELEASE-NOTES.txt?rev=1651&r1=1650&r2=1651&view=diff
==============================================================================
--- branches/REL_2/doc/RELEASE-NOTES.txt (original)
+++ branches/REL_2/doc/RELEASE-NOTES.txt Wed Apr 17 13:33:28 2013
@@ -1,3 +1,7 @@
+Changes in Release 2.6.1
+=============================================
+[JOST-210] - AbstractSAMLObject should not override equals but not hashCode
+
 Changes in Release 2.6.0
 =============================================
 [JOST-135] - Opensaml prunes empty xml namespaces, that are required for correct encryption 

Modified: branches/REL_2/src/main/java/org/opensaml/common/impl/AbstractSAMLObject.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/main/java/org/opensaml/common/impl/AbstractSAMLObject.java?rev=1651&r1=1650&r2=1651&view=diff
==============================================================================
--- branches/REL_2/src/main/java/org/opensaml/common/impl/AbstractSAMLObject.java (original)
+++ branches/REL_2/src/main/java/org/opensaml/common/impl/AbstractSAMLObject.java Wed Apr 17 13:33:28 2013
@@ -46,6 +46,11 @@
         return super.equals(obj);
     }
 
+    /** {@inheritDoc} */
+    public int hashCode() {
+        return super.hashCode();
+    }
+
     /**
      * A helper function for derived classes that checks to see if the old and new value are equal and if so releases
      * the cached dom. Derived classes are expected to use this thus: <code>



More information about the commits mailing list