cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r463121 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.5/src/test/java/org/apache/cayenne/enhancer/MockObjectContext.java
Date Thu, 12 Oct 2006 03:12:30 GMT
Author: aadamchik
Date: Wed Oct 11 20:12:29 2006
New Revision: 463121

URL: http://svn.apache.org/viewvc?view=rev&rev=463121
Log:
CAY-688: Change signatures of ObjectContext.deleteObject/registerNewObject/localObject to
take Object instead of Persistent as an argument
(jdk 1.5 project update)

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.5/src/test/java/org/apache/cayenne/enhancer/MockObjectContext.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.5/src/test/java/org/apache/cayenne/enhancer/MockObjectContext.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.5/src/test/java/org/apache/cayenne/enhancer/MockObjectContext.java?view=diff&rev=463121&r1=463120&r2=463121
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.5/src/test/java/org/apache/cayenne/enhancer/MockObjectContext.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.5/src/test/java/org/apache/cayenne/enhancer/MockObjectContext.java
Wed Oct 11 20:12:29 2006
@@ -49,7 +49,7 @@
     public void commitChangesToParent() {
     }
 
-    public void deleteObject(Persistent object) throws DeleteDenyException {
+    public void deleteObject(Object object) throws DeleteDenyException {
     }
 
     public Collection deletedObjects() {
@@ -68,7 +68,7 @@
         return null;
     }
 
-    public Persistent localObject(ObjectId id, Persistent prototype) {
+    public Persistent localObject(ObjectId id, Object prototype) {
         return null;
     }
 
@@ -92,7 +92,7 @@
         return null;
     }
 
-    public void registerNewObject(Persistent object) {
+    public void registerNewObject(Object object) {
     }
 
     public void rollbackChanges() {



Mime
View raw message