From 7d91b8f281d3698a057608924c745a0b31c67560 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Fri, 31 Jan 2020 09:24:21 -0800 Subject: [PATCH] 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. --- .../org/apache/druid/java/util/common/guava/LimitedSequence.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/apache/druid/java/util/common/guava/LimitedSequence.java b/core/src/main/java/org/apache/druid/java/util/common/guava/LimitedSequence.java index d61faaf5daa..2045c33b6ad 100644 --- a/core/src/main/java/org/apache/druid/java/util/common/guava/LimitedSequence.java +++ b/core/src/main/java/org/apache/druid/java/util/common/guava/LimitedSequence.java @@ -52,6 +52,7 @@ final class LimitedSequence extends YieldingSequenceBase return new LimitedYielder<>(subYielder, limitedAccumulator); } + @SuppressWarnings("InnerClassMayBeStatic") // False alarm: flagged by IDEA inspections, but can't actually be static. private class LimitedYielder implements Yielder { private final Yielder subYielder;