I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit adeb0957 authored by duck's avatar duck Committed by zzz
Browse files

util/PooledRandomSource.java

parent fd52bcf8
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ public class PooledRandomSource extends RandomSource { ...@@ -35,7 +35,7 @@ public class PooledRandomSource extends RandomSource {
private final RandomSource pickPRNG() { private final RandomSource pickPRNG() {
int i = _nextPool; int i = _nextPool;
_nextPool = (_nextPool++) % POOL_SIZE; _nextPool = (++_nextPool) % POOL_SIZE;
return _pool[i]; return _pool[i];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment