cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r449421 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ClientServerChannel.java
Date Sun, 24 Sep 2006 16:03:47 GMT
Author: aadamchik
Date: Sun Sep 24 09:03:47 2006
New Revision: 449421

URL: http://svn.apache.org/viewvc?view=rev&rev=449421
Log:
CAY-666 - cleaning up unneeded 'hasChanges' check

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ClientServerChannel.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ClientServerChannel.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ClientServerChannel.java?view=diff&rev=449421&r1=449420&r2=449421
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ClientServerChannel.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ClientServerChannel.java
Sun Sep 24 09:03:47 2006
@@ -116,11 +116,7 @@
     }
 
     GraphDiff onRollback(GraphDiff childDiff) {
-
-        if (serverContext.hasChanges()) {
-            serverContext.rollbackChanges();
-        }
-
+        serverContext.rollbackChanges();
         return null;
     }
 



Mime
View raw message