cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r524072 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/event/EventManager.java
Date Fri, 30 Mar 2007 13:19:44 GMT
Author: aadamchik
Date: Fri Mar 30 06:19:42 2007
New Revision: 524072

URL: http://svn.apache.org/viewvc?view=rev&rev=524072
Log:
making shared EM volatile

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/event/EventManager.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/event/EventManager.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/event/EventManager.java?view=diff&rev=524072&r1=524071&r2=524072
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/event/EventManager.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/event/EventManager.java
Fri Mar 30 06:19:42 2007
@@ -43,7 +43,7 @@
  */
 public class EventManager extends Object {
 
-    private static EventManager defaultManager;
+    private static volatile EventManager defaultManager;
 
     public static final int DEFAULT_DISPATCH_THREAD_COUNT = 5;
 



Mime
View raw message