mirror of https://github.com/apache/druid.git
remove compiler warnings about unqualified calls to yield() (#16995)
This commit is contained in:
parent
57c4b552d9
commit
57bf053dc9
|
@ -294,7 +294,7 @@ public class CombiningSequenceTest
|
|||
{
|
||||
count++;
|
||||
if (count % yieldEvery == 0) {
|
||||
yield();
|
||||
this.yield();
|
||||
}
|
||||
return rhs;
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ public class ComplexSequenceTest
|
|||
@Override
|
||||
public Integer accumulate(Integer accumulated, Integer in)
|
||||
{
|
||||
yield();
|
||||
this.yield();
|
||||
return in;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -263,7 +263,7 @@ public class ConcatSequenceTest
|
|||
@Override
|
||||
public Integer accumulate(Integer accumulated, Integer in)
|
||||
{
|
||||
yield();
|
||||
this.yield();
|
||||
return in;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ public class SequenceTestHelper
|
|||
{
|
||||
if (++count >= numToTake) {
|
||||
count = 0;
|
||||
yield();
|
||||
this.yield();
|
||||
}
|
||||
|
||||
Assert.assertEquals(prefix, valsIter.next(), in);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -757,7 +757,7 @@ public class AggregationTestHelper implements Closeable
|
|||
@Override
|
||||
public Object accumulate(Object accumulated, Object in)
|
||||
{
|
||||
yield();
|
||||
this.yield();
|
||||
return in;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue