Intellij believes the key here is the wrong type, so might not be working poperly.
public boolean getAntiAliasing() {
if (userPreferences.containsKey(Constants.ENABLE_ANTIALISING) || !Globals.IS_LINUX) {
return getAsBoolean(Constants.ENABLE_ANTIALISING);
} else {
// Linux with no explicit setting
@@ -252,9 +253,9 @@ public boolean getAntiAliasing() {
private void updateCaches(String key, String value) {
key = key.trim();
if (booleanCache.containsKey(key)) {
booleanCache.put(key, Boolean.valueOf(value));
}
colorScaleCache.remove(key); //TODO color scale cache doesn't use key strings so something here is wrong.
Intellij believes the key here is the wrong type, so might not be working poperly.