ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1813547 - /webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/XPath.java
Date Fri, 27 Oct 2017 15:56:31 GMT
Author: coheigea
Date: Fri Oct 27 15:56:30 2017
New Revision: 1813547

URL: http://svn.apache.org/viewvc?rev=1813547&view=rev
Log:
Minor fix to the hashcode for XPath

Modified:
    webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/XPath.java

Modified: webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/XPath.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/XPath.java?rev=1813547&r1=1813546&r2=1813547&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/XPath.java
(original)
+++ webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/XPath.java
Fri Oct 27 15:56:30 2017
@@ -102,7 +102,7 @@ public class XPath {
         if (filter != null) {
             result = 31 * result + filter.hashCode();
         }
-        
-        return 31 * result + super.hashCode();
+
+        return result;
     }
 }



Mime
View raw message