diff --git a/processing/src/test/java/org/apache/druid/common/guava/CombiningSequenceTest.java b/processing/src/test/java/org/apache/druid/common/guava/CombiningSequenceTest.java index 7c97e364828..437c3825170 100644 --- a/processing/src/test/java/org/apache/druid/common/guava/CombiningSequenceTest.java +++ b/processing/src/test/java/org/apache/druid/common/guava/CombiningSequenceTest.java @@ -294,7 +294,7 @@ public class CombiningSequenceTest { count++; if (count % yieldEvery == 0) { - yield(); + this.yield(); } return rhs; } diff --git a/processing/src/test/java/org/apache/druid/common/guava/ComplexSequenceTest.java b/processing/src/test/java/org/apache/druid/common/guava/ComplexSequenceTest.java index ba5504f25cf..bf1099ccc0f 100644 --- a/processing/src/test/java/org/apache/druid/common/guava/ComplexSequenceTest.java +++ b/processing/src/test/java/org/apache/druid/common/guava/ComplexSequenceTest.java @@ -71,7 +71,7 @@ public class ComplexSequenceTest @Override public Integer accumulate(Integer accumulated, Integer in) { - yield(); + this.yield(); return in; } } diff --git a/processing/src/test/java/org/apache/druid/java/util/common/guava/ConcatSequenceTest.java b/processing/src/test/java/org/apache/druid/java/util/common/guava/ConcatSequenceTest.java index cf5cabe99a8..477357e0792 100644 --- a/processing/src/test/java/org/apache/druid/java/util/common/guava/ConcatSequenceTest.java +++ b/processing/src/test/java/org/apache/druid/java/util/common/guava/ConcatSequenceTest.java @@ -263,7 +263,7 @@ public class ConcatSequenceTest @Override public Integer accumulate(Integer accumulated, Integer in) { - yield(); + this.yield(); return in; } } diff --git a/processing/src/test/java/org/apache/druid/java/util/common/guava/LimitedSequenceTest.java b/processing/src/test/java/org/apache/druid/java/util/common/guava/LimitedSequenceTest.java index 9ea8b75aa31..d26a950bdd7 100644 --- a/processing/src/test/java/org/apache/druid/java/util/common/guava/LimitedSequenceTest.java +++ b/processing/src/test/java/org/apache/druid/java/util/common/guava/LimitedSequenceTest.java @@ -104,7 +104,7 @@ public class LimitedSequenceTest public OutType accumulate(OutType accumulated, Integer in) { final OutType retVal = super.accumulate(accumulated, in); - yield(); + this.yield(); return retVal; } } diff --git a/processing/src/test/java/org/apache/druid/java/util/common/guava/SequenceTestHelper.java b/processing/src/test/java/org/apache/druid/java/util/common/guava/SequenceTestHelper.java index f8a3798954f..afbb960e00a 100644 --- a/processing/src/test/java/org/apache/druid/java/util/common/guava/SequenceTestHelper.java +++ b/processing/src/test/java/org/apache/druid/java/util/common/guava/SequenceTestHelper.java @@ -65,7 +65,7 @@ public class SequenceTestHelper { if (++count >= numToTake) { count = 0; - yield(); + this.yield(); } Assert.assertEquals(prefix, valsIter.next(), in); diff --git a/processing/src/test/java/org/apache/druid/java/util/common/guava/SkippingSequenceTest.java b/processing/src/test/java/org/apache/druid/java/util/common/guava/SkippingSequenceTest.java index 0253794fd03..2b299d0b79b 100644 --- a/processing/src/test/java/org/apache/druid/java/util/common/guava/SkippingSequenceTest.java +++ b/processing/src/test/java/org/apache/druid/java/util/common/guava/SkippingSequenceTest.java @@ -110,7 +110,7 @@ public class SkippingSequenceTest public OutType accumulate(OutType accumulated, Integer in) { final OutType retVal = super.accumulate(accumulated, in); - yield(); + this.yield(); return retVal; } } diff --git a/processing/src/test/java/org/apache/druid/query/aggregation/AggregationTestHelper.java b/processing/src/test/java/org/apache/druid/query/aggregation/AggregationTestHelper.java index e21b185d5cd..c1d643d519e 100644 --- a/processing/src/test/java/org/apache/druid/query/aggregation/AggregationTestHelper.java +++ b/processing/src/test/java/org/apache/druid/query/aggregation/AggregationTestHelper.java @@ -757,7 +757,7 @@ public class AggregationTestHelper implements Closeable @Override public Object accumulate(Object accumulated, Object in) { - yield(); + this.yield(); return in; } }