Commit 3046f0bf authored by Adam Knapp's avatar Adam Knapp
Browse files

Eliminating concurrency related errors


Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent d9009aa0
......@@ -9,11 +9,11 @@ package org.eclipse.titan.designer.AST;
import java.text.MessageFormat;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.List;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.CopyOnWriteArrayList;
import org.eclipse.titan.common.utils.Joiner;
......@@ -35,7 +35,7 @@ public final class ReferenceChain implements IReferenceChain {
/**
* The list of references contained in the chain.
* */
private final List<IReferenceChainElement> chainLinks = new ArrayList<IReferenceChainElement>();
private final List<IReferenceChainElement> chainLinks = new CopyOnWriteArrayList<IReferenceChainElement>();
/**
* The list of marked states.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment