mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(no message)
This commit is contained in:
@@ -93,11 +93,10 @@ public final class ColorKey implements Comparable<ColorKey> {
|
||||
if (key == null) {
|
||||
key = find(externalName);
|
||||
}
|
||||
else {
|
||||
LOG.assertTrue(key.getDefaultColor() == null, "default color already assigned");
|
||||
}
|
||||
|
||||
key.myDefaultColor = defaultColor;
|
||||
if (key.getDefaultColor() == null) {
|
||||
key.myDefaultColor = defaultColor;
|
||||
}
|
||||
return key;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user