Skip to content

Commit

Permalink
fixed ConcurrentModificationException (https://jira.jboss.org/jira/br…
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Dec 12, 2008
1 parent bbbb703 commit fac35bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/jgroups/protocols/TP.java
Expand Up @@ -44,7 +44,7 @@
* The {@link #receive(Address, Address, byte[], int, int)} method must
* be called by subclasses when a unicast or multicast message has been received.
* @author Bela Ban
* @version $Id: TP.java,v 1.238 2008/11/17 13:36:51 belaban Exp $
* @version $Id: TP.java,v 1.239 2008/12/12 08:10:22 belaban Exp $
*/
@MBean(description="Transport protocol")
@DeprecatedProperty(names={"bind_to_all_interfaces", "use_incoming_packet_handler", "use_outgoing_packet_handler",
Expand Down Expand Up @@ -1757,7 +1757,7 @@ public static class ProtocolAdapter extends Protocol {
final String cluster_name;
final String transport_name;
final TpHeader header;
final List<Address> members=new ArrayList<Address>();
final List<Address> members=new CopyOnWriteArrayList<Address>();
final ThreadFactory factory;

public ProtocolAdapter(String cluster_name, String transport_name, Protocol up, Protocol down, String pattern, Address addr) {
Expand Down

0 comments on commit fac35bc

Please sign in to comment.