diff --git a/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/EditorColorsSchemeImpl.java b/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/EditorColorsSchemeImpl.java index c179a03cadec..4bb779a826ad 100644 --- a/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/EditorColorsSchemeImpl.java +++ b/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/EditorColorsSchemeImpl.java @@ -39,7 +39,7 @@ public class EditorColorsSchemeImpl extends AbstractColorsScheme implements Exte } public void setAttributes(@NotNull TextAttributesKey key, @NotNull TextAttributes attributes, boolean force) { - if (force || attributes == USE_INHERITED_MARKER || !attributes.equals(getAttributes(key))) { + if (force || attributes == USE_INHERITED_MARKER || attributes != getAttributes(key)) { myAttributesMap.put(key, attributes); } }