diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java index c21485f8..840f51ff 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -14,7 +14,6 @@ import ru.gravit.launcher.request.update.LegacyLauncherRequest; import ru.gravit.launcher.serialize.HInput; import ru.gravit.launcher.serialize.HOutput; -import ru.gravit.launcher.serialize.signed.SignedObjectHolder; import ru.gravit.launcher.serialize.stream.StreamObject; import ru.gravit.utils.PublicURLClassLoader; import ru.gravit.utils.helper.*; @@ -412,7 +411,6 @@ public static void main(String... args) throws Throwable { Params params; ClientProfile profile; HashedDir assetHDir, clientHDir; - RSAPublicKey publicKey = Launcher.getConfig().publicKey; try { try (Socket socket = IOHelper.newSocket()) { socket.connect(new InetSocketAddress(SOCKET_HOST, SOCKET_PORT)); diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java index 69cab0e0..84d63efd 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java @@ -6,7 +6,6 @@ import ru.gravit.launcher.profiles.ClientProfile; import ru.gravit.launcher.serialize.HInput; import ru.gravit.launcher.serialize.HOutput; -import ru.gravit.launcher.serialize.signed.SignedObjectHolder; import ru.gravit.utils.helper.*; import javax.crypto.BadPaddingException; @@ -14,7 +13,6 @@ import java.io.IOException; import java.nio.file.Path; import java.security.SignatureException; -import java.security.interfaces.RSAPublicKey; import java.util.HashMap; import java.util.LinkedList; import java.util.List; diff --git a/libLauncher/src/main/java/ru/gravit/launcher/hasher/FileNameMatcher.java b/libLauncher/src/main/java/ru/gravit/launcher/hasher/FileNameMatcher.java index 88db90e5..87b39c93 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/hasher/FileNameMatcher.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/hasher/FileNameMatcher.java @@ -1,9 +1,6 @@ package ru.gravit.launcher.hasher; import ru.gravit.launcher.LauncherAPI; -import ru.gravit.utils.helper.LogHelper; - -import java.util.Arrays; import java.util.Collection; public final class FileNameMatcher {