Suppress false-alarm inspection. (#9297)

I think a mid-air collision between #9260 and #9293 has led to
master being unable to pass insepctions in TeamCity. Hopefully
this fixes it.
This commit is contained in:
Gian Merlino 2020-01-31 09:24:21 -08:00 committed by GitHub
parent 204ba9966f
commit 7d91b8f281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ final class LimitedSequence<T> extends YieldingSequenceBase<T>
return new LimitedYielder<>(subYielder, limitedAccumulator);
}
@SuppressWarnings("InnerClassMayBeStatic") // False alarm: flagged by IDEA inspections, but can't actually be static.
private class LimitedYielder<OutType> implements Yielder<OutType>
{
private final Yielder<OutType> subYielder;