mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 23:44:48 +00:00
Cast to long to workaround a bug in animal-sniffer.
This commit is contained in:
parent
38c36b5685
commit
4d6946c43a
@ -116,7 +116,8 @@ public class DynamicHasher implements Hasher {
|
||||
buffer++;
|
||||
}
|
||||
return (int) Math.floorMod(function.apply(buffers.get(buffer), funcCount++),
|
||||
shape.getNumberOfBits());
|
||||
// Cast to long to workaround a bug in animal-sniffer.
|
||||
(long) shape.getNumberOfBits());
|
||||
}
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user