mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-14800 use == to compare attributes
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user