EA-99122 - assert: ColorKey.<init>

This commit is contained in:
Dmitry Avdeev
2017-03-20 15:37:49 +03:00
parent 4475bb2482
commit 5a907b3dd0
@@ -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) {