Skip to content

Commit 8c9072c

Browse files
committed
Suppress SpotBugs warning
1 parent 0c4cfdb commit 8c9072c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/truffleruby/core/hash/library/CompactHashStore.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.oracle.truffle.api.dsl.GenerateInline;
2323
import org.truffleruby.RubyContext;
2424
import org.truffleruby.RubyLanguage;
25+
import org.truffleruby.annotations.SuppressFBWarnings;
2526
import org.truffleruby.collections.PEBiFunction;
2627
import org.truffleruby.core.array.ArrayHelpers;
2728
import org.truffleruby.core.array.ArrayUtils;
@@ -567,6 +568,7 @@ static boolean keyAlreadyExistsWithDifferentValue(
567568
}
568569

569570
// setting a new key is more expensive
571+
@SuppressFBWarnings("IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN")
570572
@Specialization(guards = "keyPos < 0")
571573
static boolean keyDoesntExist(
572574
Node node,

0 commit comments

Comments
 (0)