a bit tolerance against broken .ini
This commit is contained in:
parent
a36101598f
commit
f97d3b9044
|
@ -96,9 +96,9 @@ public class ArrayIniField extends IniField {
|
|||
FieldType type = FieldType.parseTs(list.get(2));
|
||||
int offset = Integer.parseInt(list.get(3));
|
||||
String size = list.get(4);
|
||||
String unit = list.get(5);
|
||||
String digits = list.get(10);
|
||||
double multiplier = IniField.parseDouble(list.get(6));
|
||||
String unit = list.size() > 5 ? list.get(5) : "error";
|
||||
String digits = list.size() > 10 ? list.get(10) : "0";
|
||||
double multiplier = IniField.parseDouble(list.size() > 6 ? list.get(6) : "1");
|
||||
|
||||
size = size.replaceAll("[\\]\\[x]", " ").trim();
|
||||
String dimentions[] = size.split(" ");
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.net.URL;
|
|||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class rusEFIVersion {
|
||||
public static final int CONSOLE_VERSION = 20210126;
|
||||
public static final int CONSOLE_VERSION = 20210213;
|
||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
public static long classBuildTimeMillis() {
|
||||
|
|
Loading…
Reference in New Issue