db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1103335 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java
Date Sun, 15 May 2011 12:18:13 GMT
Author: tfischer
Date: Sun May 15 12:18:13 2011
New Revision: 1103335

URL: http://svn.apache.org/viewvc?rev=1103335&view=rev
Log:
TORQUE-150: also use criterionMap in hashCode() 

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java?rev=1103335&r1=1103334&r2=1103335&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java
Sun May 15 12:18:13 2011
@@ -1894,7 +1894,7 @@ public class Criteria implements Seriali
         result = 37 * result + aliases.hashCode();
         result = 37 * result + asColumns.hashCode();
         result = 37 * result + joins.hashCode();
-        result = 37 * result + super.hashCode();
+        result = 37 * result + criterionMap.hashCode();
         return result;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message