Skip to content

Commit 3571d19

Browse files
committed
Squash Spotbugs warning
1 parent 1a9fa65 commit 3571d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/stream/impl/HashUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.nio.charset.StandardCharsets;
1919
import java.util.function.ToIntFunction;
2020

21+
@SuppressFBWarnings({"SF_SWITCH_FALLTHROUGH", "SF_SWITCH_NO_DEFAULT"})
2122
final class HashUtils {
2223

2324
static final ToIntFunction<String> MURMUR3 = new Murmur3();
@@ -72,7 +73,6 @@ private static int fmix32(int hash) {
7273
this.seed = seed;
7374
}
7475

75-
@SuppressFBWarnings({"SF_SWITCH_FALLTHROUGH", "SF_SWITCH_NO_DEFAULT"})
7676
@Override
7777
public int applyAsInt(String value) {
7878
byte[] data = value.getBytes(StandardCharsets.UTF_8);

0 commit comments

Comments
 (0)