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