|
@@ -238,12 +238,9 @@ public abstract class ConfigSource {
|
238
|
238
|
.startsWith("false:")) {
|
239
|
239
|
return fallbacks.length >= 2 ? getOptionInt(fallbacks[0], fallbacks[1],
|
240
|
240
|
Arrays.copyOfRange(fallbacks, 2, fallbacks.length)) : null;
|
241
|
|
- }
|
242
|
|
- if (value.startsWith("true:")) {
|
|
241
|
+ } else if (value.startsWith("true:")) {
|
243
|
242
|
return Integer.parseInt(getOption(domain, option).trim().substring(
|
244
|
243
|
5));
|
245
|
|
- } else if (value.startsWith("false:")) {
|
246
|
|
- return null;
|
247
|
244
|
} else {
|
248
|
245
|
return Integer.parseInt(getOption(domain, option).trim());
|
249
|
246
|
}
|