Author: toad
Date: 2008-02-05 21:28:15 +0000 (Tue, 05 Feb 2008)
New Revision: 17551

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

Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java       2008-02-05 
21:10:30 UTC (rev 17550)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java       2008-02-05 
21:28:15 UTC (rev 17551)
@@ -8,6 +8,7 @@

 import freenet.keys.Key;
 import freenet.support.Logger;
+import freenet.support.StringArray;

 class FailureTableEntry {

@@ -116,7 +117,7 @@
        // Note also this will generate some churn...

        synchronized void addRequestors(PeerNode[] requestors, long now) {
-               if(logMINOR) Logger.minor(this, "Adding requestors: 
"+requestors+" at "+now);
+               if(logMINOR) Logger.minor(this, "Adding requestors: 
"+StringArray.toString(requestors)+" at "+now);
                receivedTime = now;
                /** The number of new requestor elements. These are moved to 
the beginning and the 
                 * rest is nulled out. So this is also the index of the first 
non-null element in 
@@ -208,7 +209,7 @@
        }

        private synchronized void addRequestedFrom(PeerNode[] requestedFrom, 
long now) {
-               if(logMINOR) Logger.minor(this, "Adding requested from: 
"+requestedFrom+" at "+now);
+               if(logMINOR) Logger.minor(this, "Adding requested from: 
"+StringArray.toString(requestedFrom)+" at "+now);
                sentTime = now;
                /** The number of new requestedFrom elements. These are moved 
to the beginning and the 
                 * rest is nulled out. So this is also the index of the first 
non-null element in 


Reply via email to