[freenet-cvs] r17498 - trunk/freenet/src/freenet/node

toad at freenetproject.org toad at freenetproject.org
Sun Feb 3 00:11:03 UTC 2008


Author: toad
Date: 2008-02-03 00:11:02 +0000 (Sun, 03 Feb 2008)
New Revision: 17498

Modified:
   trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
comments

Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java	2008-02-03 00:10:40 UTC (rev 17497)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java	2008-02-03 00:11:02 UTC (rev 17498)
@@ -102,7 +102,8 @@
 	synchronized void addRequestors(PeerNode[] requestors, long now) {
 		receivedTime = now;
 		/** The number of new requestor elements. These are moved to the beginning and the 
-		 * rest is nulled out. */
+		 * rest is nulled out. So this is also the index of the first non-null element in 
+		 * requestors. */
 		int notIncluded = 0;
 		int nulls = 0;
 		for(int i=0;i<requestors.length;i++) {




More information about the cvs mailing list