mirror of https://github.com/apache/lucene.git
LUCENE-7210: Add missing @Override to TestCorePlus(Queries|Extensions)Parser's newCoreParser method.
This commit is contained in:
parent
68e9efc7ac
commit
88c4b095bc
|
@ -21,6 +21,7 @@ import org.apache.lucene.search.Query;
|
||||||
|
|
||||||
public class TestCorePlusExtensionsParser extends TestCorePlusQueriesParser {
|
public class TestCorePlusExtensionsParser extends TestCorePlusQueriesParser {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected CoreParser newCoreParser(String defaultField, Analyzer analyzer) {
|
protected CoreParser newCoreParser(String defaultField, Analyzer analyzer) {
|
||||||
return new CorePlusExtensionsParser(defaultField, analyzer);
|
return new CorePlusExtensionsParser(defaultField, analyzer);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ import org.apache.lucene.search.Query;
|
||||||
|
|
||||||
public class TestCorePlusQueriesParser extends TestCoreParser {
|
public class TestCorePlusQueriesParser extends TestCoreParser {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected CoreParser newCoreParser(String defaultField, Analyzer analyzer) {
|
protected CoreParser newCoreParser(String defaultField, Analyzer analyzer) {
|
||||||
return new CorePlusQueriesParser(defaultField, analyzer);
|
return new CorePlusQueriesParser(defaultField, analyzer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue