remove dead code

This commit is contained in:
Mike McCandless 2017-03-29 08:48:26 -04:00 committed by Shalin Shekhar Mangar
parent 516122b31d
commit 83bea8349e
1 changed files with 0 additions and 1 deletions

View File

@ -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);