mirror of https://github.com/apache/lucene.git
add missing @override annotations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894202 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7c3ed5867e
commit
2685859da2
|
@ -156,6 +156,7 @@ public class TaskSequence extends PerfTask {
|
|||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
count = task.runAndMaybeStats(letChildReport);
|
||||
|
|
|
@ -28,6 +28,7 @@ class InstantiatedAllTermDocs extends AbstractAllTermDocs {
|
|||
this.reader = reader;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDeleted(int doc) {
|
||||
return reader.isDeleted(doc);
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ public class TestExtensions extends LuceneTestCase {
|
|||
|
||||
private Extensions ext;
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
this.ext = new Extensions();
|
||||
|
|
|
@ -30,6 +30,7 @@ class AllTermDocs extends AbstractAllTermDocs {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDeleted(int doc) {
|
||||
return deletedDocs != null && deletedDocs.get(doc);
|
||||
}
|
||||
|
|
|
@ -96,6 +96,7 @@ public class MultiFieldQueryParser extends QueryParser
|
|||
this.fields = fields;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Query getFieldQuery(String field, String queryText, int slop) throws ParseException {
|
||||
if (field == null) {
|
||||
List<BooleanClause> clauses = new ArrayList<BooleanClause>();
|
||||
|
@ -132,11 +133,13 @@ public class MultiFieldQueryParser extends QueryParser
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected Query getFieldQuery(String field, String queryText) throws ParseException {
|
||||
return getFieldQuery(field, queryText, 0);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException
|
||||
{
|
||||
if (field == null) {
|
||||
|
@ -150,6 +153,7 @@ public class MultiFieldQueryParser extends QueryParser
|
|||
return super.getFuzzyQuery(field, termStr, minSimilarity);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Query getPrefixQuery(String field, String termStr) throws ParseException
|
||||
{
|
||||
if (field == null) {
|
||||
|
@ -163,6 +167,7 @@ public class MultiFieldQueryParser extends QueryParser
|
|||
return super.getPrefixQuery(field, termStr);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Query getWildcardQuery(String field, String termStr) throws ParseException {
|
||||
if (field == null) {
|
||||
List<BooleanClause> clauses = new ArrayList<BooleanClause>();
|
||||
|
@ -176,6 +181,7 @@ public class MultiFieldQueryParser extends QueryParser
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected Query getRangeQuery(String field, String part1, String part2, boolean inclusive) throws ParseException {
|
||||
if (field == null) {
|
||||
List<BooleanClause> clauses = new ArrayList<BooleanClause>();
|
||||
|
|
|
@ -4633,6 +4633,7 @@ public class TestIndexWriter extends LuceneTestCase {
|
|||
for(int i=0;i<NUM_THREADS;i++) {
|
||||
final int finalI = i;
|
||||
threads[i] = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
final Document doc = new Document();
|
||||
|
|
|
@ -37,6 +37,7 @@ public class TestDoubleBarrelLRUCache extends BaseTestLRU {
|
|||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
long count = 0;
|
||||
|
|
Loading…
Reference in New Issue