mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Assertion fixed 40929
This commit is contained in:
@@ -90,10 +90,9 @@ public final class TextAttributesKey implements Comparable<TextAttributesKey> {
|
||||
if (key == null) {
|
||||
key = find(externalName);
|
||||
}
|
||||
else {
|
||||
LOG.assertTrue(key.getDefaultAttributes() == null, "default attributes already assigned");
|
||||
if (key.getDefaultAttributes() == null) {
|
||||
key.myDefaultAttributes = defaultAttributes;
|
||||
}
|
||||
key.myDefaultAttributes = defaultAttributes;
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user