cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r604748 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneContextGraphAction.java
Date Sun, 16 Dec 2007 23:55:27 GMT
Author: kmenard
Date: Sun Dec 16 15:55:25 2007
New Revision: 604748

URL: http://svn.apache.org/viewvc?rev=604748&view=rev
Log:
Backported an NPE fix.

Modified:
    cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneContextGraphAction.java

Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneContextGraphAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneContextGraphAction.java?rev=604748&r1=604747&r2=604748&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneContextGraphAction.java
(original)
+++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneContextGraphAction.java
Sun Dec 16 15:55:25 2007
@@ -72,11 +72,10 @@
 class CayenneContextGraphAction {
 
     CayenneContext context;
-    ThreadLocal arcChangeInProcess;
+    static final ThreadLocal arcChangeInProcess = new ThreadLocal();
 
     CayenneContextGraphAction(CayenneContext context) {
         this.context = context;
-        this.arcChangeInProcess = new ThreadLocal();
     }
 
     /**



Mime
View raw message