add @Override (see last commit)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2009-11-10 10:51:28 +00:00
parent 21e83894ae
commit 48f4f2e27a
2 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,7 @@ public class IndexSearcher extends Searcher {
} }
// inherit javadoc // inherit javadoc
@Override
public Document doc(int i, FieldSelector fieldSelector) throws CorruptIndexException, IOException { public Document doc(int i, FieldSelector fieldSelector) throws CorruptIndexException, IOException {
return reader.document(i, fieldSelector); return reader.document(i, fieldSelector);
} }

View File

@ -170,6 +170,7 @@ public class MultiSearcher extends Searcher {
} }
// inherit javadoc // inherit javadoc
@Override
public Document doc(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { public Document doc(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException {
int i = subSearcher(n); // find searcher index int i = subSearcher(n); // find searcher index
return searchables[i].doc(n - starts[i], fieldSelector); // dispatch to searcher return searchables[i].doc(n - starts[i], fieldSelector); // dispatch to searcher