db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1348311 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java
Date Sat, 09 Jun 2012 03:39:27 GMT
Author: tfischer
Date: Sat Jun  9 03:39:27 2012
New Revision: 1348311

URL: http://svn.apache.org/viewvc?rev=1348311&view=rev
Log:
make findbugs happy with equals method

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=1348311&r1=1348310&r2=1348311&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
Sat Jun  9 03:39:27 2012
@@ -1922,7 +1922,7 @@ public class Criteria implements Seriali
         {
             return true;
         }
-        if (object.getClass() != Criteria.class)
+        if (object.getClass() != this.getClass())
         {
             return false;
         }



---------------------------------------------------------------------
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