LUCENE-6116: Simplify RoaringDocIdSet.Iterator constructor.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646041 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrien Grand 2014-12-16 18:46:25 +00:00
parent a7a5cfc413
commit 56b3f8b1fc
1 changed files with 2 additions and 5 deletions

View File

@ -268,11 +268,8 @@ public class RoaringDocIdSet extends DocIdSet {
Iterator() throws IOException {
doc = -1;
block = 0;
while (docIdSets[block] == null) {
block += 1;
}
sub = docIdSets[block].iterator();
block = -1;
sub = DocIdSetIterator.empty();
}
@Override