thread safety

This commit is contained in:
Alexey Kudravtsev
2013-08-21 13:58:05 +04:00
parent 5b821b192a
commit 7ece03dad4
@@ -102,7 +102,7 @@ public class GeneralHighlightingPass extends ProgressableTextEditorHighlightingP
private final List<HighlightInfo> myHighlights = new ArrayList<HighlightInfo>();
protected volatile boolean myHasErrorElement;
private boolean myErrorFound;
private volatile boolean myErrorFound;
private static final Comparator<HighlightVisitor> VISITOR_ORDER_COMPARATOR = new Comparator<HighlightVisitor>() {
@Override
public int compare(final HighlightVisitor o1, final HighlightVisitor o2) {