mirror of
https://github.com/apache/lucene.git
synced 2025-02-13 13:35:37 +00:00
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…
x
Reference in New Issue
Block a user