For the various Yielder objects, don't create new Yielders and instead mutate state...
authorGian Merlino <gian@imply.io>
Wed, 27 Apr 2022 17:52:20 +0000 (10:52 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Apr 2022 17:52:20 +0000 (10:52 -0700)
commite7e49ec9c857641efe1548f438e2d203248de7ea
tree469f9d700127a4bf5018203906424f298abe6266
parent2fe053c5cbc0845e09a8f27580e42b097a4227e8
For the various Yielder objects, don't create new Yielders and instead mutate state. (#12475)

Co-authored-by: imply-cheddar <86940447+imply-cheddar@users.noreply.github.com>
core/src/main/java/org/apache/druid/common/guava/CombiningSequence.java
core/src/main/java/org/apache/druid/java/util/common/guava/BaseSequence.java
core/src/main/java/org/apache/druid/java/util/common/guava/WrappingYielder.java
core/src/main/java/org/apache/druid/java/util/common/guava/Yielder.java
core/src/test/java/org/apache/druid/common/guava/CombiningSequenceTest.java