(no message)

This commit is contained in:
Olesya Smirnova
2005-02-09 21:35:41 +03:00
parent cadd12fe44
commit a586b53c8a
@@ -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;
}
}