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:
Simon Willnauer 2011-01-11 13:16:19 +00:00
parent 52124d8ebf
commit 36d8c00f6a
1 changed files with 1 additions and 1 deletions

View File

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