db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r232190 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/singlefieldidentity/PCPointSingleFieldDate.java
Date Fri, 12 Aug 2005 03:02:57 GMT
Author: mcaisse
Date: Thu Aug 11 20:02:43 2005
New Revision: 232190

URL: http://svn.apache.org/viewcvs?rev=232190&view=rev
Log:
JDO-118 Contributed by Michael Watzek

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/singlefieldidentity/PCPointSingleFieldDate.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/singlefieldidentity/PCPointSingleFieldDate.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/singlefieldidentity/PCPointSingleFieldDate.java?rev=232190&r1=232189&r2=232190&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/singlefieldidentity/PCPointSingleFieldDate.java
(original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/singlefieldidentity/PCPointSingleFieldDate.java
Thu Aug 11 20:02:43 2005
@@ -18,8 +18,8 @@
 
 import java.util.Date;
 
+import javax.jdo.identity.ObjectIdentity;
 import javax.jdo.identity.SingleFieldIdentity;
-import javax.jdo.identity.StringIdentity;
 
 /**
  * The PC class for testing <code>ObjectIdentity</code>.
@@ -98,7 +98,7 @@
      * of this class.
      */
     public boolean equalsPKField(SingleFieldIdentity singleFieldIdentity) {
-        return this.id.equals(((StringIdentity)singleFieldIdentity).getKey());
+        return this.id.equals(((ObjectIdentity)singleFieldIdentity).getKey());
     }
     
     public String toString() {



Mime
View raw message