mirror of https://github.com/apache/lucene.git
removed redundant cast
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1057612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
52124d8ebf
commit
36d8c00f6a
|
@ -99,7 +99,7 @@ public class TestFilteredSearch extends LuceneTestCase {
|
|||
public DocIdSet getDocIdSet(AtomicReaderContext context) {
|
||||
assert context.isAtomic;
|
||||
final OpenBitSet set = new OpenBitSet();
|
||||
int docBase = ((AtomicReaderContext)context).docBase;
|
||||
int docBase = context.docBase;
|
||||
final int limit = docBase+context.reader.maxDoc();
|
||||
for (;index < docs.length; index++) {
|
||||
final int docId = docs[index];
|
||||
|
|
Loading…
Reference in New Issue