Skip to content

Commit 69abf1a

Browse files
reverting unrelated changes
1 parent ea80a7d commit 69abf1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

fastfilter/src/main/java/org/fastfilter/utils/Hash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.Random;
44

55
public class Hash {
6-
private static final Random random = new Random();
6+
private static Random random = new Random();
77

88
public static void setSeed(long seed) {
99
random.setSeed(seed);

fastfilter/src/main/java/org/fastfilter/xor/XorBinaryFuse16.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public long getBitCount() {
4646
}
4747

4848
static int calculateSegmentLength(int arity, int size) {
49-
final int segmentLength;
49+
int segmentLength;
5050
if (arity == 3) {
5151
segmentLength = 1 << (int) Math.floor(Math.log(size) / Math.log(3.33) + 2.11);
5252
} else if (arity == 4) {
@@ -218,6 +218,7 @@ private void addAll(long[] keys) {
218218
alone = null;
219219
t2count = null;
220220
t2hash = null;
221+
221222
for (int i = reverseOrderPos - 1; i >= 0; i--) {
222223
long hash = reverseOrder[i];
223224
int found = reverseH[i];

0 commit comments

Comments
 (0)