db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r509255 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/order/OrderItem.java
Date Mon, 19 Feb 2007 17:05:38 GMT
Author: mcaisse
Date: Mon Feb 19 09:05:37 2007
New Revision: 509255

URL: http://svn.apache.org/viewvc?view=rev&rev=509255
Log:
JDO-466

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/order/OrderItem.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/order/OrderItem.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/order/OrderItem.java?view=diff&rev=509255&r1=509254&r2=509255
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/order/OrderItem.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/order/OrderItem.java Mon Feb 19 09:05:37
2007
@@ -193,7 +193,7 @@
             if (obj==null || !this.getClass().equals(obj.getClass())) 
                 return false;
             OrderItemOid o = (OrderItemOid) obj;
-            if ((this.order != o.order) || (this.item != o.item)) {
+            if (!this.order.equals(o.order) || (this.item != o.item)) {
                 return false;
             }
             return true;



Mime
View raw message