Author: nextgens
Date: 2008-02-15 07:58:35 +0000 (Fri, 15 Feb 2008)
New Revision: 17924

Modified:
   trunk/freenet/src/freenet/crypt/DiffieHellman.java
Log:
Cleanup in DiffieHellman

Modified: trunk/freenet/src/freenet/crypt/DiffieHellman.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DiffieHellman.java  2008-02-15 07:52:50 UTC 
(rev 17923)
+++ trunk/freenet/src/freenet/crypt/DiffieHellman.java  2008-02-15 07:58:35 UTC 
(rev 17924)
@@ -93,10 +93,6 @@
                // If the buffer size is below the threshold then wake the 
precalc
                // thread
                if (precalcBuffer.size() < PRECALC_RESUME) {
-                       if (precalcBuffer.isEmpty()) {
-                               // If it is all empty, try to fill it up even 
faster
-                               precalcThread.setPriority(Thread.MAX_PRIORITY);
-                       }
                        synchronized (precalcerWaitObj) {
                                precalcerWaitObj.notify();
                        }


Reply via email to