From 92fb5e8da3ccdd655270c81ca2177a40213ee01d Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Tue, 26 Apr 2016 15:10:58 +0100 Subject: [PATCH] Make the static CoreParser.parseXML method package-private instead of private so that it's visible to and can be used by tests. --- .../src/java/org/apache/lucene/queryparser/xml/CoreParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java b/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java index 1416f255bdd..0c5cf842e98 100644 --- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java +++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java @@ -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 {