Author: toad
Date: 2008-02-06 19:04:09 +0000 (Wed, 06 Feb 2008)
New Revision: 17596

Modified:
   trunk/freenet/src/freenet/node/FailureTable.java
   trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
addRequestors() -> addRequestor()

Modified: trunk/freenet/src/freenet/node/FailureTable.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTable.java    2008-02-06 19:03:01 UTC 
(rev 17595)
+++ trunk/freenet/src/freenet/node/FailureTable.java    2008-02-06 19:04:09 UTC 
(rev 17596)
@@ -121,7 +121,7 @@
                        // Don't know anything about the key
                        return false;
                }
-               entry.addRequestors(requestor, now);
+               entry.addRequestor(requestor, now);
                if(htl > entry.htl) {
                        // If the HTL is higher this time, let it through
                        entriesByKey.push(key, entry);

Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java       2008-02-06 
19:03:01 UTC (rev 17595)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java       2008-02-06 
19:04:09 UTC (rev 17596)
@@ -107,7 +107,7 @@
                        }
                        if(requestors != null) {
                                for(int i=0;i<requestors.length;i++)
-                                       addRequestors(requestors[i], now);
+                                       addRequestor(requestors[i], now);
                        }
                        if(requestedFrom != null) {
                                for(int i=0;i<requestedFrom.length;i++)
@@ -122,7 +122,7 @@
        // per entry byte cost.
        // Note also this will generate some churn...

-       synchronized int addRequestors(PeerNode requestors, long now) {
+       synchronized int addRequestor(PeerNode requestors, long now) {
                if(logMINOR) Logger.minor(this, "Adding requestors: 
"+requestors+" at "+now);
                receivedTime = now;
                boolean requestorIncluded = false;


Reply via email to