You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2016/04/26 17:39:25 UTC

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

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 8162ba453 -> 92fb5e8da


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


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/92fb5e8d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/92fb5e8d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/92fb5e8d

Branch: refs/heads/branch_6x
Commit: 92fb5e8da3ccdd655270c81ca2177a40213ee01d
Parents: 8162ba4
Author: Christine Poerschke <cp...@apache.org>
Authored: Tue Apr 26 15:10:58 2016 +0100
Committer: Christine Poerschke <cp...@apache.org>
Committed: Tue Apr 26 16:22:25 2016 +0100

----------------------------------------------------------------------
 .../src/java/org/apache/lucene/queryparser/xml/CoreParser.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/92fb5e8d/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java
----------------------------------------------------------------------
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 1416f25..0c5cf84 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 {