When validating the xml we don't need the returned value so don't bother assigning it to anything.
This commit is contained in:
parent
90afd989f3
commit
1c0f70806d
@ -46,7 +46,8 @@ public class RocksimComponentFileTranslator {
|
|||||||
|
|
||||||
// Try parsing the file
|
// Try parsing the file
|
||||||
LOGGER.println("\tValidating XML");
|
LOGGER.println("\tValidating XML");
|
||||||
List<ComponentPreset> presets = new OpenRocketComponentSaver().unmarshalFromOpenRocketComponent(new StringReader(xml));
|
// Throw away the result, we're just parsing for validation.
|
||||||
|
new OpenRocketComponentSaver().unmarshalFromOpenRocketComponent(new StringReader(xml));
|
||||||
|
|
||||||
LOGGER.println("\tWriting to file " + args[1]);
|
LOGGER.println("\tWriting to file " + args[1]);
|
||||||
File outfile = new File(args[1]);
|
File outfile = new File(args[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user