Skip to content

Commit

Permalink
bugfix on boolean string parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell committed Aug 20, 2024
1 parent 9cfc76f commit de7a05e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public boolean init(String... filenames) {
}
String detectors = getEngineConfigString(CONF_DETECTORS,"DC,FTOF");
String orders = getEngineConfigString(CONF_ORDERS,"NOMINAL");
Boolean suppressDoubles = Boolean.getBoolean(getEngineConfigString(CONF_SUPPRESS_DOUBLES,"true"));
Boolean preserveOrder = Boolean.getBoolean(getEngineConfigString(CONF_PRESERVE_ORDER,"true"));
Boolean suppressDoubles = Boolean.valueOf(getEngineConfigString(CONF_SUPPRESS_DOUBLES,"true"));
Boolean preserveOrder = Boolean.valueOf(getEngineConfigString(CONF_PRESERVE_ORDER,"true"));
bgmerger = new EventMerger(detectors.split(","), orders.split(","), suppressDoubles, preserveOrder);
openNextFile();
return true;
Expand Down

0 comments on commit de7a05e

Please sign in to comment.