Author: toad
Date: 2008-02-18 11:37:13 +0000 (Mon, 18 Feb 2008)
New Revision: 18032

Modified:
   trunk/freenet/src/freenet/client/async/RequestCooldownQueue.java
Log:
logging

Modified: trunk/freenet/src/freenet/client/async/RequestCooldownQueue.java
===================================================================
--- trunk/freenet/src/freenet/client/async/RequestCooldownQueue.java    
2008-02-18 11:36:33 UTC (rev 18031)
+++ trunk/freenet/src/freenet/client/async/RequestCooldownQueue.java    
2008-02-18 11:37:13 UTC (rev 18032)
@@ -112,7 +112,7 @@
        synchronized Key removeKeyBefore(long now) {
                logMINOR = Logger.shouldLog(Logger.MINOR, this);
                if(logMINOR)
-                       Logger.minor(this, "Remove key before "+now+" : 
startPtr="+startPtr+" endPtr="+endPtr+" holes="+holes);
+                       Logger.minor(this, "Remove key before "+now+" : 
startPtr="+startPtr+" endPtr="+endPtr+" holes="+holes+" 
keys.length="+keys.length);
                if(holes < 0) Logger.error(this, "holes = "+holes+" !!");
                while(true) {
                        if(startPtr == endPtr) {
@@ -149,7 +149,7 @@
        synchronized boolean removeKey(Key key, long time) {
                logMINOR = Logger.shouldLog(Logger.MINOR, this);
                if(holes < 0) Logger.error(this, "holes = "+holes+" !!");
-               if(logMINOR) Logger.minor(this, "Remove key "+key+" at time 
"+time+" startPtr="+startPtr+" endPtr="+endPtr+" holes="+holes);
+               if(logMINOR) Logger.minor(this, "Remove key "+key+" at time 
"+time+" startPtr="+startPtr+" endPtr="+endPtr+" holes="+holes+" 
keys.length="+keys.length);
                int idx = -1;
                if(endPtr > startPtr) {
                        idx = Fields.binarySearch(times, time, startPtr, 
endPtr);


Reply via email to