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:20:00 UTC
lucene-solr:master: 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/master 506d61abe -> 9d8fad7a6
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/9d8fad7a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9d8fad7a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9d8fad7a
Branch: refs/heads/master
Commit: 9d8fad7a6361bffe360fb40eaf29abd5a6105c4e
Parents: 506d61a
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 15:10:58 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/9d8fad7a/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 {