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

Modified Files:
        ContextManager.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: ContextManager.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/client/http/ContextManager.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -r1.6 -r1.7
--- ContextManager.java 26 Jun 2003 03:48:28 -0000      1.6
+++ ContextManager.java 27 Oct 2003 14:45:18 -0000      1.7
@@ -15,7 +15,7 @@
     private final static String makeID() {
         String candidate = null;
         do {
-            candidate = Long.toHexString(Math.abs(Core.randSource.nextInt()));
+            candidate = Long.toHexString(Math.abs(Core.getRandSource().nextInt()));
         }
         while (table.get(candidate) != null);
         

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

Reply via email to