From 0fdb4bde5cdb2656de38b893e8baab958be86c25 Mon Sep 17 00:00:00 2001 From: ErdoganSeref Date: Tue, 6 Aug 2024 17:57:54 +0200 Subject: [PATCH] Optimize imports Remove unused imports Replace wildcard import with specific imports --- src/main/java/game/Encoder.java | 4 ---- src/main/java/game/OpeningTrie.java | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/game/Encoder.java b/src/main/java/game/Encoder.java index 6463b23..58dc63f 100644 --- a/src/main/java/game/Encoder.java +++ b/src/main/java/game/Encoder.java @@ -3,10 +3,6 @@ import java.util.Arrays; import java.util.Optional; import java.util.OptionalInt; -import java.util.regex.Pattern; -import java.util.regex.Matcher; - -import java.nio.ByteBuffer; import org.lichess.compression.BitReader; import org.lichess.compression.BitWriter; diff --git a/src/main/java/game/OpeningTrie.java b/src/main/java/game/OpeningTrie.java index 62af5ec..63f09d8 100644 --- a/src/main/java/game/OpeningTrie.java +++ b/src/main/java/game/OpeningTrie.java @@ -6,7 +6,11 @@ import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; -import java.util.*; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; public class OpeningTrie { private final int bitVectorLength;