Update of /cvsroot/freenet/freenet/src/freenet/presentation
In directory sc8-pr-cvs1:/tmp/cvs-serv5586/src/freenet/presentation

Modified Files:
        FreenetProtocol.java 
Log Message:
Work around problem with ThrottleAsyncEntropyYarrow/Yarrow initialization order.
Made randSource in Core private and started exposing it though a getter instead of 
directly.

Index: FreenetProtocol.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/presentation/FreenetProtocol.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- FreenetProtocol.java        28 Jun 2003 16:10:22 -0000      1.3
+++ FreenetProtocol.java        27 Oct 2003 14:45:19 -0000      1.4
@@ -102,11 +102,11 @@
     }
 
     public Message getCloseMessage() {
-        return new VoidMessage(Core.randSource.nextLong(), true, null);
+        return new VoidMessage(Core.getRandSource().nextLong(), true, null);
     }
 
     public Message getSustainMessage() {
-        return new VoidMessage(Core.randSource.nextLong(), false, true, null);
+        return new VoidMessage(Core.getRandSource().nextLong(), false, true, null);
     }
 
 }

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

Reply via email to