mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-12 02:02:16 +10:00
Better error handing in V2 file importer
This commit is contained in:
Binary file not shown.
@@ -251,8 +251,10 @@ public class V2FileParser implements IOldFileParser {
|
||||
else if (pr10.equals("M"))
|
||||
ru = ResistanceUnit.M;
|
||||
else if (pr10.equals("R"))
|
||||
ru = ResistanceUnit.R;
|
||||
value = Double.parseDouble(pr9);
|
||||
ru = ResistanceUnit.R;
|
||||
try {
|
||||
value = Double.parseDouble(pr9);
|
||||
} catch (Exception e) {}
|
||||
|
||||
}
|
||||
} else if (propertyList.item(j).getAttributes().getNamedItem("name").getNodeValue()
|
||||
|
||||
Reference in New Issue
Block a user