commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1471593 - /commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ContextBase.java
Date Wed, 24 Apr 2013 18:32:30 GMT
Author: sebb
Date: Wed Apr 24 18:32:29 2013
New Revision: 1471593

URL: http://svn.apache.org/r1471593
Log:
Override hashCode when overridin equals

Modified:
    commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ContextBase.java

Modified: commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ContextBase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ContextBase.java?rev=1471593&r1=1471592&r2=1471593&view=diff
==============================================================================
--- commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ContextBase.java
(original)
+++ commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ContextBase.java
Wed Apr 24 18:32:29 2013
@@ -119,6 +119,11 @@ public class ContextBase extends Context
                 public boolean equals(Object object) {
                     return (false);
                 }
+
+                @Override
+                public int hashCode() {
+                    return super.hashCode();
+                }
             };
     }
 



Mime
View raw message