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()) {
|
for (Key key : Key.values()) {
|
||||||
String s = changedSettings.get(key);
|
String s = changedSettings.get(key);
|
||||||
if (s != null) {
|
if (s != null) {
|
||||||
|
s = s.trim();
|
||||||
if (key.isBoolean()) {
|
if (key.isBoolean()) {
|
||||||
settings.put(key, Boolean.valueOf(s).toString());
|
settings.put(key, Boolean.valueOf(s).toString());
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue