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

j16sdiz at freenetproject.org j16sdiz at freenetproject.org
Tue Jul 1 11:06:17 UTC 2008


Author: j16sdiz
Date: 2008-07-01 11:06:17 +0000 (Tue, 01 Jul 2008)
New Revision: 20900

Modified:
   branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
Log:
typo

Modified: branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
===================================================================
--- branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java	2008-07-01 11:05:55 UTC (rev 20899)
+++ branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java	2008-07-01 11:06:17 UTC (rev 20900)
@@ -880,7 +880,7 @@
 	private interface BatchProcessor {	
 		// return <code>null</code> to free the entry
 		// return NOT_MODIFIED to keep the old entry
-		Entry processs(Entry entry);
+		Entry process(Entry entry);
 	}
 	
 	private class Cleaner extends Thread {
@@ -971,7 +971,7 @@
 					return;
 
 				batchProcessEntries(curOffset, RESIZE_MEMORY_ENTRIES, new BatchProcessor() {
-					public Entry processs(Entry entry) {
+					public Entry process(Entry entry) {
 						if (entry.getStoreSize() == storeSize) // new size
 							return NOT_MODIFIED;
 
@@ -1043,7 +1043,7 @@
 					return;
 				}
 				batchProcessEntries(curOffset, RESIZE_MEMORY_ENTRIES, new BatchProcessor() {
-					public Entry processs(Entry entry) {
+					public Entry process(Entry entry) {
 						if (entry.getGeneration() != generation) {
 							bloomFilter.updateFilter(entry.getDigestedRoutingKey());
 							keyCount.incrementAndGet();
@@ -1140,7 +1140,7 @@
 							if (entry.isFree())
 								continue; // not occupied
 
-							Entry newEntry = processor.processs(entry);
+							Entry newEntry = processor.process(entry);
 							if (newEntry == null) {// free the offset
 								buf.position((int) (j * entryTotalLength));
 								buf.put(ByteBuffer.allocate((int) entryTotalLength));




More information about the cvs mailing list