mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
thread safety
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user