mirror of https://github.com/apache/druid.git
LimitedSequence: Improve suppression comment. (#9298)
This commit is contained in:
parent
85d0d57fc9
commit
0f0554f8fa
|
@ -52,7 +52,9 @@ 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.
|
||||
// False alarm: This is flagged as InnerClassMayBeStatic by IDEA inspections, but can't actually be static, because
|
||||
// it depends on the non-static inner class LimitedYieldingAccumulator.
|
||||
@SuppressWarnings("InnerClassMayBeStatic")
|
||||
private class LimitedYielder<OutType> implements Yielder<OutType>
|
||||
{
|
||||
private final Yielder<OutType> subYielder;
|
||||
|
|
Loading…
Reference in New Issue