mirror of https://github.com/apache/lucene.git
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:
parent
21e83894ae
commit
48f4f2e27a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue