mirror of https://github.com/apache/lucene.git
Suppress fall-through warning in minmash's murmur
This commit is contained in:
parent
90e9c76851
commit
f34a9ecd74
|
@ -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…
Reference in New Issue