Skip to content

Commit

Permalink
Rollback Spliterator implemenation in favor of api
Browse files Browse the repository at this point in the history
  • Loading branch information
BradBot1 committed Jul 13, 2023
1 parent 2edffd7 commit b0228ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import java.util.Map;
import java.util.Optional;
import java.util.Spliterator;
import java.util.Spliterators;
import java.util.function.UnaryOperator;
import java.util.stream.Collectors;
import java.util.stream.Stream;
Expand Down Expand Up @@ -684,6 +685,6 @@ public Iterator<StructureModifierIntermediate<T>> iterator() {
*/
@Override
public Spliterator<StructureModifierIntermediate<T>> spliterator() {
return new StructureModifierSpliterator<T>(this);
return Spliterators.spliterator(this.iterator(), this.size(), Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.ORDERED | Spliterator.SIZED);
}
}

This file was deleted.

0 comments on commit b0228ea

Please sign in to comment.