mirror of https://github.com/apache/lucene.git
remove dead code
This commit is contained in:
parent
a6f27d3e1e
commit
1ace1740d9
|
@ -414,7 +414,6 @@ public class IndexSearcher {
|
|||
throw new IllegalArgumentException("after.doc exceeds the number of documents in the reader: after.doc="
|
||||
+ after.doc + " limit=" + limit);
|
||||
}
|
||||
numHits = Math.min(numHits, limit);
|
||||
|
||||
final int cappedNumHits = Math.min(numHits, limit);
|
||||
|
||||
|
|
Loading…
Reference in New Issue