mirror of https://github.com/apache/lucene.git
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:
parent
8162ba4534
commit
92fb5e8da3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue