Update of /cvsroot/freenet/freenet/src/freenet/node/rt
In directory sc8-pr-cvs1:/tmp/cvs-serv18034/src/freenet/node/rt
Modified Files:
ResponseTimeEstimator.java
Log Message:
Yet an if(logDEBUG)
Index: ResponseTimeEstimator.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/ResponseTimeEstimator.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -r1.9 -r1.10
--- ResponseTimeEstimator.java 17 Oct 2003 01:43:29 -0000 1.9
+++ ResponseTimeEstimator.java 22 Oct 2003 14:14:14 -0000 1.10
@@ -114,7 +114,7 @@
public void writeTo(DataOutputStream o) throws IOException {
logDEBUG = Core.logger.shouldLog(Logger.DEBUG,this);
- logDEBUG("Serializing to disk, accuracy "+time.length);
+ if(logDEBUG) logDEBUG("Serializing to disk, accuracy "+time.length);
o.writeInt(1); // current version. Using negative numbers for compatibility.
o.writeInt(time.length);
synchronized(this) {
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs