Make the static CoreParser.parseXML method package-private instead of private so that it's visible to and can be used by tests.

This commit is contained in:
Christine Poerschke 2016-04-26 15:10:58 +01:00
parent 8162ba4534
commit 92fb5e8da3
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class CoreParser implements QueryBuilder {
queryFactory.addBuilder(nodeName, builder);
}
private static Document parseXML(InputStream pXmlFile) throws ParserException {
static Document parseXML(InputStream pXmlFile) throws ParserException {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = null;
try {