mirror of https://github.com/apache/lucene.git
Remove four unnecessary @Override annotations in SolrQueryBuilder (test) classes.
This commit is contained in:
parent
649c58de02
commit
230190065c
|
@ -35,7 +35,6 @@ public class ApacheLuceneSolrNearQueryBuilder extends SolrQueryBuilder {
|
|||
super(defaultField, analyzer, req, queryFactory);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query getQuery(Element e) throws ParserException {
|
||||
final String fieldName = DOMUtils.getAttributeWithInheritanceOrFail(e, "fieldName");
|
||||
final SpanQuery[] spanQueries = new SpanQuery[]{
|
||||
|
|
|
@ -31,7 +31,6 @@ public class GoodbyeQueryBuilder extends SolrQueryBuilder {
|
|||
super(defaultField, analyzer, req, queryFactory);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query getQuery(Element e) throws ParserException {
|
||||
return new MatchNoDocsQuery();
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@ public class HandyQueryBuilder extends SolrQueryBuilder {
|
|||
super(defaultField, analyzer, req, queryFactory);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query getQuery(Element e) throws ParserException {
|
||||
final BooleanQuery.Builder bq = new BooleanQuery.Builder();
|
||||
final Query lhsQ = getSubQuery(e, "Left");
|
||||
|
|
|
@ -31,7 +31,6 @@ public class HelloQueryBuilder extends SolrQueryBuilder {
|
|||
super(defaultField, analyzer, req, queryFactory);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query getQuery(Element e) throws ParserException {
|
||||
return new MatchAllDocsQuery();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue