From 17083475048c965b94dc139a9c2664c718322fed Mon Sep 17 00:00:00 2001 From: Rahul Rudragoudar Date: Sat, 24 Apr 2021 20:53:28 +0530 Subject: [PATCH] Remove seed member var Signed-off-by: Rahul Rudragoudar --- src/main/java/lc/misc/HelperFunctions.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/lc/misc/HelperFunctions.java b/src/main/java/lc/misc/HelperFunctions.java index 2b37fc0..47e8614 100644 --- a/src/main/java/lc/misc/HelperFunctions.java +++ b/src/main/java/lc/misc/HelperFunctions.java @@ -5,9 +5,7 @@ import java.util.Random; 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);