jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1232858 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/BloomFilterUtilsTest.java
Date Wed, 18 Jan 2012 12:37:51 GMT
Author: thomasm
Date: Wed Jan 18 12:37:51 2012
New Revision: 1232858

URL: http://svn.apache.org/viewvc?rev=1232858&view=rev
Log:
Fix bloom filter hash constants generator.

Modified:
    jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/BloomFilterUtilsTest.java

Modified: jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/BloomFilterUtilsTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/BloomFilterUtilsTest.java?rev=1232858&r1=1232857&r2=1232858&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/BloomFilterUtilsTest.java
(original)
+++ jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/BloomFilterUtilsTest.java
Wed Jan 18 12:37:51 2012
@@ -137,7 +137,6 @@ public class BloomFilterUtilsTest {
 
 
     private static int hash(int oldHash, int mul, int shift) {
-        oldHash = oldHash ^ (int) (oldHash * 0x5DEECE66DL + 0xBL);
         return oldHash ^ ((oldHash * mul) >> shift);
     }
 



Mime
View raw message