mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-13 06:53:19 -05:00
Remove seed member var
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
parent
04755c0a07
commit
1708347504
@ -5,9 +5,7 @@ import java.util.Random;
|
|||||||
|
|
||||||
public class HelperFunctions {
|
public class HelperFunctions {
|
||||||
|
|
||||||
public static int seed;
|
private static Random random = new Random();
|
||||||
|
|
||||||
private static Random random = new Random(seed);
|
|
||||||
|
|
||||||
synchronized public static void setSeed(long seed){
|
synchronized public static void setSeed(long seed){
|
||||||
random.setSeed(seed);
|
random.setSeed(seed);
|
||||||
|
Loading…
Reference in New Issue
Block a user