cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r752558 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/buslifecycle/CXFBusLifeCycleManager.java
Date Wed, 11 Mar 2009 18:39:03 GMT
Author: dkulp
Date: Wed Mar 11 18:39:02 2009
New Revision: 752558

URL: http://svn.apache.org/viewvc?rev=752558&view=rev
Log:
[CXF-2105] Fix ConcurrentModificationException issues with lifecycle manager

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/buslifecycle/CXFBusLifeCycleManager.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/buslifecycle/CXFBusLifeCycleManager.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/buslifecycle/CXFBusLifeCycleManager.java?rev=752558&r1=752557&r2=752558&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/buslifecycle/CXFBusLifeCycleManager.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/buslifecycle/CXFBusLifeCycleManager.java
Wed Mar 11 18:39:02 2009
@@ -19,8 +19,8 @@
 
 package org.apache.cxf.buslifecycle;
 
-import java.util.ArrayList;
 import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
 
 import javax.annotation.PostConstruct;
 import javax.annotation.Resource;
@@ -35,7 +35,7 @@
     private boolean postShutdownCalled;
     
     public CXFBusLifeCycleManager() {
-        listeners = new ArrayList<BusLifeCycleListener>();
+        listeners = new CopyOnWriteArrayList<BusLifeCycleListener>();
     }
     
     @Resource



Mime
View raw message