Skip to content

Commit

Permalink
Merge pull request #291 from apache/bugfix/272-select-on-FSArray-seem…
Browse files Browse the repository at this point in the history
…s-broken

Issue #272: select on FSArray seems broken
  • Loading branch information
reckart committed Jan 24, 2023
2 parents e3684f9 + 5ffd2d2 commit 30ada85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ public Spliterator<T> spliterator() {
// always set
int c = Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.DISTINCT;

if (boundsUse == BoundsUse.notBounded && !isNonOverlapping) {
if (!isAltSource && boundsUse == BoundsUse.notBounded && !isNonOverlapping) {
c |= Spliterator.SIZED | Spliterator.SUBSIZED;
}

Expand Down

0 comments on commit 30ada85

Please sign in to comment.