remove compiler warnings about unqualified calls to yield() (#16995)

This commit is contained in:
Clint Wylie 2024-09-03 20:04:30 -07:00 committed by GitHub
parent 57c4b552d9
commit 57bf053dc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View File

@ -294,7 +294,7 @@ public class CombiningSequenceTest
{
count++;
if (count % yieldEvery == 0) {
yield();
this.yield();
}
return rhs;
}

View File

@ -71,7 +71,7 @@ public class ComplexSequenceTest
@Override
public Integer accumulate(Integer accumulated, Integer in)
{
yield();
this.yield();
return in;
}
}

View File

@ -263,7 +263,7 @@ public class ConcatSequenceTest
@Override
public Integer accumulate(Integer accumulated, Integer in)
{
yield();
this.yield();
return in;
}
}

View File

@ -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;
}
}

View File

@ -65,7 +65,7 @@ public class SequenceTestHelper
{
if (++count >= numToTake) {
count = 0;
yield();
this.yield();
}
Assert.assertEquals(prefix, valsIter.next(), in);

View File

@ -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;
}
}

View File

@ -757,7 +757,7 @@ public class AggregationTestHelper implements Closeable
@Override
public Object accumulate(Object accumulated, Object in)
{
yield();
this.yield();
return in;
}
}