Update of /cvsroot/freenet/freenet/src/freenet/node/rt
In directory sc8-pr-cvs1:/tmp/cvs-serv18223/src/freenet/node/rt

Modified Files:
        FFTTimeEstimator.java CPAlgoRoutingTable.java NGRouting.java 
Log Message:
get rid of some yellowies

Index: FFTTimeEstimator.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/FFTTimeEstimator.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -r1.5 -r1.6
--- FFTTimeEstimator.java       31 Oct 2003 19:21:20 -0000      1.5
+++ FFTTimeEstimator.java       31 Oct 2003 19:38:21 -0000      1.6
@@ -3,7 +3,6 @@
 import java.math.BigInteger;
 
 import freenet.Key;
-import freenet.node.rt.ResponseTimeEstimator.RecentReports;
 
 public class FFTTimeEstimator extends ResponseTimeEstimator {
     

Index: CPAlgoRoutingTable.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/CPAlgoRoutingTable.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -w -r1.59 -r1.60
--- CPAlgoRoutingTable.java     31 Oct 2003 19:21:20 -0000      1.59
+++ CPAlgoRoutingTable.java     31 Oct 2003 19:38:22 -0000      1.60
@@ -795,7 +795,7 @@
        
        final void increaseContactProbability(boolean weak) {
            if(justFetchedARK) {
-               node.diagnostics.occurrenceCounting("successLookupARK",1);
+               Core.diagnostics.occurrenceCounting("successLookupARK",1);
                justFetchedARK = false;
            }
            if(contactProbability < minCP) contactProbability = minCP;
@@ -884,7 +884,7 @@
            }
            
            public boolean internalRun() {
-               node.diagnostics.occurrenceCounting("lookupARKattempts",1);
+               Core.diagnostics.occurrenceCounting("lookupARKattempts",1);
                return super.internalRun();
            }
            
@@ -900,7 +900,7 @@
                 
                InputStream in = ((ArrayBucket)bucket).getInputStream();
                FieldSet fs;
-               node.diagnostics.occurrenceCounting("fetchedLookupARK",1);
+               Core.diagnostics.occurrenceCounting("fetchedLookupARK",1);
                try {
                    fs = new FieldSet(new ReadInputStream(in));
                } catch (IOException e) {
@@ -958,7 +958,7 @@
                    routingStore.putNode(newRef);
                    // Don't touch the CP. Nodes should not persist just by inserting 
lots of ARKs.
                }
-               node.diagnostics.occurrenceCounting("validLookupARK", 1);
+               Core.diagnostics.occurrenceCounting("validLookupARK", 1);
                justFetchedARK = true;
                synchronized(lookupLock) {
                    lookup = null; // we're done

Index: NGRouting.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/NGRouting.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -w -r1.12 -r1.13
--- NGRouting.java      31 Oct 2003 19:21:20 -0000      1.12
+++ NGRouting.java      31 Oct 2003 19:38:22 -0000      1.13
@@ -40,7 +40,7 @@
        this.ngrt = ngrt;
        this.doDesperate = doDesperate;
        this.node = n;
-       logDEBUG = n.logger.shouldLog(Logger.DEBUG,this);
+       logDEBUG = Core.logger.shouldLog(Logger.DEBUG,this);
        this.isInsert = isInsert;
     }
     
@@ -67,7 +67,7 @@
            if(desperate || freeConn(ref.getIdentity())) {
                hasSearchFailed = false;
                lastTime = System.currentTimeMillis();
-               logDEBUG = node.logger.shouldLog(Logger.DEBUG,this);
+               logDEBUG = Core.logger.shouldLog(Logger.DEBUG,this);
                return ref;
            }
        }

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to