From adeb09576a38111a880d5d183e089af481c73805 Mon Sep 17 00:00:00 2001
From: duck <duck>
Date: Fri, 3 Jun 2005 20:23:32 +0000
Subject: [PATCH] util/PooledRandomSource.java

---
 core/java/src/net/i2p/util/PooledRandomSource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/java/src/net/i2p/util/PooledRandomSource.java b/core/java/src/net/i2p/util/PooledRandomSource.java
index 8011a5350e..1dd212cf21 100644
--- a/core/java/src/net/i2p/util/PooledRandomSource.java
+++ b/core/java/src/net/i2p/util/PooledRandomSource.java
@@ -35,7 +35,7 @@ public class PooledRandomSource extends RandomSource {
 
     private final RandomSource pickPRNG() {
         int i = _nextPool;
-        _nextPool = (_nextPool++) % POOL_SIZE;
+        _nextPool = (++_nextPool) % POOL_SIZE;
         return _pool[i];
     }
     
-- 
GitLab