[freenet-cvs] r20890 - branches/saltedhashstore/freenet/src/freenet/store

j16sdiz at freenetproject.org j16sdiz at freenetproject.org
Tue Jul 1 09:27:11 UTC 2008


Author: j16sdiz
Date: 2008-07-01 09:27:10 +0000 (Tue, 01 Jul 2008)
New Revision: 20890

Modified:
   branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
Log:
don't update bloom twice

Modified: branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
===================================================================
--- branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java	2008-07-01 08:30:55 UTC (rev 20889)
+++ branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java	2008-07-01 09:27:10 UTC (rev 20890)
@@ -157,8 +157,6 @@
 				try {
 					StorableBlock block = entry.getStorableBlock(routingKey, fullKey);
 					hits.incrementAndGet();
-					if (updateBloom && !checkBloom)
-						bloomFilter.updateFilter(getDigestedRoutingKey(routingKey));
 					return block;
 				} catch (KeyVerifyException e) {
 					Logger.minor(this, "key verification exception", e);




More information about the cvs mailing list