Update of /cvsroot/freenet/freenet/src/freenet/node/states/maintenance
In directory sc8-pr-cvs1:/tmp/cvs-serv25857/src/freenet/node/states/maintenance

Modified Files:
      Tag: stable
        Checkpoint.java 
Log Message:
5029: Merge from unstable after months of work. MASSIVE changes.
Highlights:
* Next Generation Routing, massive related changes
* Major changes to handling of messages and connections (PeerHandler and related 
changes)
* Even more non-blocking I/O
* Documentation improvements
* Lots of new diagnostics and config options
* Lots of bug fixes and performance tweaking
* Probably lots of new bugs too!


Index: Checkpoint.java
===================================================================
RCS file: 
/cvsroot/freenet/freenet/src/freenet/node/states/maintenance/Checkpoint.java,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.1.2.1
diff -u -w -r1.4.4.1 -r1.4.4.1.2.1
--- Checkpoint.java     15 Dec 2002 00:05:48 -0000      1.4.4.1
+++ Checkpoint.java     28 Oct 2003 20:20:43 -0000      1.4.4.1.2.1
@@ -17,7 +17,7 @@
     
 
     public Checkpoint(Checkpointed target) {
-        super(Core.randSource.nextLong());
+        super(Core.getRandSource().nextLong());
         this.target = target;
     }
 
@@ -37,9 +37,7 @@
     }
     
     public void lost(Node n) {
-        n.logger.log(this,
-            "WTF!? Node states overflowed before I could receive my MO!  Running 
anyway..",
-            Logger.ERROR);
+        n.logger.log(this, "WTF!? Node states overflowed before I could receive my 
MO!  Running anyway..", Logger.ERROR);
         checkpoint(n);
     }
 
@@ -56,8 +54,7 @@
             target.checkpoint();
         }
         catch (Throwable e) {
-            n.logger.log(this, "unhandled throwable in "+getName(),
-                         e, Logger.ERROR);
+            n.logger.log(this, "unhandled throwable in " + getName() + ": " + e, e, 
Logger.ERROR);
         }
         finally {
             schedule(n);
@@ -81,9 +78,7 @@
         }
 
         public final void drop(Node n) {
-            n.logger.log(CheckpointMemo.this,
-                         "rescheduling "+getName()+" due to ticker overflow",
-                         Logger.MINOR);
+            n.logger.log(CheckpointMemo.this, "rescheduling " + getName() + " due to 
ticker overflow", Logger.MINOR);
             n.ticker().addAbs(next_time, this);
         }
 

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

Reply via email to