Guard against accidental blanks in developer.properties
This commit is contained in:
parent
5db470d307
commit
f993cf85ab
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ public class DeveloperSettings {
|
|||
for (Key key : Key.values()) {
|
||||
String s = changedSettings.get(key);
|
||||
if (s != null) {
|
||||
s = s.trim();
|
||||
if (key.isBoolean()) {
|
||||
settings.put(key, Boolean.valueOf(s).toString());
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue