cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r454235 - in /incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer: CglibEnhancer.java DataObjectDelegate.java
Date Sun, 08 Oct 2006 23:30:44 GMT
Author: aadamchik
Date: Sun Oct  8 16:30:43 2006
New Revision: 454235

URL: http://svn.apache.org/viewvc?view=rev&rev=454235
Log:
excluding "fetchFinished" method from the enhancer - it is deprecated and not invoked by Cayenne

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/CglibEnhancer.java
    incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/DataObjectDelegate.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/CglibEnhancer.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/CglibEnhancer.java?view=diff&rev=454235&r1=454234&r2=454235
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/CglibEnhancer.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/CglibEnhancer.java
Sun Oct  8 16:30:43 2006
@@ -115,8 +115,11 @@
         Collection<String> excludes = new ArrayList<String>();
         excludes.add("setSnapshotVersion");
         excludes.add("getSnapshotVersion");
+        
+        // deprecated methods in DataObject interface
         excludes.add("getDataContext");
         excludes.add("setDataContext");
+        excludes.add("fetchFinished");
 
         ClassTransformer t2 = new InterfaceMethodInjector(
                 DataObject.class,

Modified: incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/DataObjectDelegate.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/DataObjectDelegate.java?view=diff&rev=454235&r1=454234&r2=454235
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/DataObjectDelegate.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/enhancer/DataObjectDelegate.java
Sun Oct  8 16:30:43 2006
@@ -117,10 +117,6 @@
         throw new UnsupportedOperationException("Not supported");
     }
 
-    public static void fetchFinished(DataObject object) {
-        // noop
-    }
-
     /**
      * Returns a Cayenne ClassDescriptor for the enhanced DataObject class. To obtain
      * class descriptors, uses a DataObject context first, and then falls back to the



Mime
View raw message