Remove four unnecessary @Override annotations in SolrQueryBuilder (test) classes.

This commit is contained in:
Christine Poerschke 2017-01-16 18:14:36 +00:00
parent 649c58de02
commit 230190065c
4 changed files with 0 additions and 4 deletions

View File

@ -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[]{

View File

@ -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();
}

View File

@ -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");

View File

@ -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();
}