Apache Lucene open-source search software
LUCENE-7210: Add missing @Override to TestCorePlus(Queries|Extensions)Parser's newCoreParser method.
Christine Poerschke88c4b095bccb
diff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusExtensionsParser.java b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusExtensionsParser.javaindex 35f28ef1103..8b096170625 100644--- a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusExtensionsParser.java+++ b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusExtensionsParser.java@@ -21,6 +21,7 @@ import org.apache.lucene.search.Query;public class TestCorePlusExtensionsParser extends TestCorePlusQueriesParser {+ @Overrideprotected CoreParser newCoreParser(String defaultField, Analyzer analyzer) {return new CorePlusExtensionsParser(defaultField, analyzer);}diff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusQueriesParser.java b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusQueriesParser.javaindex 7e58c47c24b..a91800fd763 100644--- a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusQueriesParser.java+++ b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestCorePlusQueriesParser.java@@ -21,6 +21,7 @@ import org.apache.lucene.search.Query;public class TestCorePlusQueriesParser extends TestCoreParser {+ @Overrideprotected CoreParser newCoreParser(String defaultField, Analyzer analyzer) {return new CorePlusQueriesParser(defaultField, analyzer);}