Change-Id: Ib0b86ceab070d46903de7b55f2fd441714855141
@ -290,6 +290,9 @@ public class ConfigTest {
c = parse("[s \"b\"]\n\tc = one-two\n");
assertSame(TestEnum.ONE_TWO, c.getEnum("s", "b", "c", TestEnum.ONE_TWO));
c = parse("[s \"b\"]\n\tc = one two\n");
}
@Test
@ -387,7 +387,7 @@ public class Config {
if (value == null)
return defaultValue;
String n = value.replace('-', '_');
String n = value.replace('-', '_').replace(' ', '_');
T trueState = null;
T falseState = null;
for (T e : all) {