diff --git a/core/java/src/net/i2p/util/PooledRandomSource.java b/core/java/src/net/i2p/util/PooledRandomSource.java index 8011a5350..1dd212cf2 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]; }