Minor fixes
This commit is contained in:
parent
e8a108d89f
commit
6d1d80d022
1 changed files with 1 additions and 2 deletions
|
@ -37,9 +37,8 @@ public class ZorkXMLParser extends ZorkParser {
|
|||
|
||||
final Element rootElement = builder.newDocumentBuilder().parse(file).getDocumentElement();
|
||||
return DOMElement.of(rootElement);
|
||||
} catch (final Exception e) {
|
||||
} catch (final Exception ignored) {
|
||||
System.out.println("Invalid XML file, exiting");
|
||||
e.printStackTrace();
|
||||
System.exit(-1);
|
||||
return null; // never reached
|
||||
}
|
||||
|
|
Reference in a new issue