diff --git a/src/main/java/xyz/joethei/studium/algodat/DuplicatesList.java b/src/main/java/xyz/joethei/studium/algodat/DuplicatesList.java index 7da02c3..eb82d3d 100644 --- a/src/main/java/xyz/joethei/studium/algodat/DuplicatesList.java +++ b/src/main/java/xyz/joethei/studium/algodat/DuplicatesList.java @@ -1,8 +1,8 @@ package xyz.joethei.studium.algodat; -import java.time.Instant; -import java.util.*; -import java.util.stream.Collectors; +import java.util.ArrayList; +import java.util.List; +import java.util.Random; public class DuplicatesList { @@ -19,7 +19,7 @@ public class DuplicatesList { } public static void main(String[] args) { - List list = new ArrayList(); + List list = new ArrayList<>(); Random random = new Random(); for (int i = 0; i < 10000; i++) { list.add(random.nextInt(10));