[webbeans-commits] Webbeans SVN: r365 - ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/transaction.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Wed Nov 26 09:12:53 EST 2008
Author: nickarls
Date: 2008-11-26 09:12:53 -0500 (Wed, 26 Nov 2008)
New Revision: 365
Modified:
ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/transaction/TransactionListener.java
Log:
minor: ArrayList -> CopyOnWriteArrayList in TransactionListener
Modified: ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/transaction/TransactionListener.java
===================================================================
--- ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/transaction/TransactionListener.java 2008-11-26 12:47:44 UTC (rev 364)
+++ ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/transaction/TransactionListener.java 2008-11-26 14:12:53 UTC (rev 365)
@@ -1,8 +1,8 @@
package org.jboss.webbeans.transaction;
import java.rmi.RemoteException;
-import java.util.ArrayList;
import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
import javax.ejb.EJBException;
import javax.ejb.Remove;
@@ -20,7 +20,7 @@
public class TransactionListener implements LocalTransactionListener, SessionSynchronization
{
- private List<Synchronization> synchronizations = new ArrayList<Synchronization>();
+ private List<Synchronization> synchronizations = new CopyOnWriteArrayList<Synchronization>();
public void afterBegin() throws EJBException, RemoteException
{
More information about the weld-commits
mailing list