Checkstyle.
This commit is contained in:
parent
8a35ca4f8e
commit
8d6d088622
|
@ -120,7 +120,7 @@ public abstract class BaseRandomGenerator
|
|||
int bits;
|
||||
int val;
|
||||
do {
|
||||
bits = (nextInt() >>> 1);
|
||||
bits = nextInt() >>> 1;
|
||||
val = bits % n;
|
||||
} while (bits - val + (n - 1) < 0);
|
||||
return val;
|
||||
|
|
Loading…
Reference in New Issue