From 5a907b3dd087e6d62a3a11d3164193c2e5069e64 Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Mon, 20 Mar 2017 15:09:25 +0300 Subject: [PATCH] EA-99122 - assert: ColorKey. --- .../impl/tagTreeHighlighting/XmlTagTreeHighlightingColors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/xml-analysis-impl/src/com/intellij/codeInsight/daemon/impl/tagTreeHighlighting/XmlTagTreeHighlightingColors.java b/xml/xml-analysis-impl/src/com/intellij/codeInsight/daemon/impl/tagTreeHighlighting/XmlTagTreeHighlightingColors.java index e160481d40d3..cc547e437f3d 100644 --- a/xml/xml-analysis-impl/src/com/intellij/codeInsight/daemon/impl/tagTreeHighlighting/XmlTagTreeHighlightingColors.java +++ b/xml/xml-analysis-impl/src/com/intellij/codeInsight/daemon/impl/tagTreeHighlighting/XmlTagTreeHighlightingColors.java @@ -34,7 +34,7 @@ public class XmlTagTreeHighlightingColors { } @NotNull - public static ColorKey[] getColorKeys() { + public static synchronized ColorKey[] getColorKeys() { final int levelCount = WebEditorOptions.getInstance().getTagTreeHighlightingLevelCount(); if (ourColorKeys == null || ourColorKeys.length != levelCount) {