Skip to content

Commit

Permalink
Remove seed member var
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
  • Loading branch information
rr83019 committed Apr 24, 2021
1 parent 04755c0 commit 1708347
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/lc/misc/HelperFunctions.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

public class HelperFunctions {

public static int seed;

private static Random random = new Random(seed);
private static Random random = new Random();

synchronized public static void setSeed(long seed){
random.setSeed(seed);
Expand Down

0 comments on commit 1708347

Please sign in to comment.