mirror of
https://github.com/apache/lucene.git
synced 2025-03-01 05:49:33 +00:00
Suppress fall-through warning in minmash's murmur
This commit is contained in:
parent
78ebcd3cf5
commit
ef53ef9fcb
@ -402,6 +402,7 @@ public class MinHashFilter extends TokenFilter {
|
||||
}
|
||||
|
||||
/** Returns the MurmurHash3_x64_128 hash, placing the result in "out". */
|
||||
@SuppressWarnings("fallthrough") // the huge switch is designed to use fall through into cases!
|
||||
static void murmurhash3_x64_128(byte[] key, int offset, int len, int seed, LongPair out) {
|
||||
// The original algorithm does have a 32 bit unsigned seed.
|
||||
// We have to mask to match the behavior of the unsigned types and prevent sign extension.
|
||||
|
Loading…
x
Reference in New Issue
Block a user