diff --git a/Searches/BinarySearch.java b/Searches/BinarySearch.java index f655c074..6877a55f 100644 --- a/Searches/BinarySearch.java +++ b/Searches/BinarySearch.java @@ -72,7 +72,7 @@ class BinarySearch implements SearchAlgorithm { // Driver Program public static void main(String[] args) { // Just generate data - Random random = ThreadLocalRandom.current(); + Random r = ThreadLocalRandom.current(); int size = 100; int maxElement = 100000;