mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
New preference: enable all compiler warnings, off by default. Fixes #1728 and #2415. Also affects #2634 and #2207
This commit is contained in:
@ -311,7 +311,7 @@ public class PreferencesMap extends LinkedHashMap<String, String> {
|
||||
* insensitive compared), <b>false</b> in any other case
|
||||
*/
|
||||
public boolean getBoolean(String key) {
|
||||
return new Boolean(get(key));
|
||||
return Boolean.valueOf(get(key));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user