parent
425ff9ba34
commit
27d19f57f0
|
@ -47,11 +47,11 @@ public class Config {
|
|||
int equalsSign = configData.get(i).indexOf('=');
|
||||
switch (configData.get(i).substring(0, equalsSign)) {
|
||||
case ("debug"): {
|
||||
debug = configData.get(i).substring(equalsSign + 1) == "true" ? true : false;
|
||||
debug = configData.get(i).substring(equalsSign + 1).equals("true") ? true : false;
|
||||
break;
|
||||
}
|
||||
case ("fixLog4J"): {
|
||||
fixLog4J = configData.get(i).substring(equalsSign + 1) == "true" ? true : false;
|
||||
fixLog4J = configData.get(i).substring(equalsSign + 1).equals("true") ? true : false;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
|
|
Loading…
Reference in New Issue