Skip to content

Commit a431d15

Browse files
author
Adam Hrbac
committed
Indicate intentional fallthrough
1 parent 6524e45 commit a431d15

File tree

1 file changed

+1
-0
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/contextvars

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/contextvars/Hamt.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ public Object lookup(Object key, int hash) {
215215
return lookupKeyInPart(root, key, hash, 0);
216216
}
217217

218+
@SuppressWarnings("fallthrough")
218219
private static TreePart bitmapWithoutKey(BitmapNode existing, Object key, int hash, int hashShift) {
219220
int position = hashIdx(hash, hashShift);
220221
int sparseIdx = bitmapToIdx(existing.bitmap, position);

0 commit comments

Comments
 (0)