From 89e493aa6a74bccd38f23a375ef4032fde682760 Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Mon, 25 Feb 2019 12:11:01 +0300 Subject: [PATCH] =?UTF-8?q?[ANY]=20=D0=92=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20organize=20imports.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launcher/client/ClientLauncher.java | 2 -- .../main/java/ru/gravit/launcher/client/LauncherSettings.java | 2 -- .../main/java/ru/gravit/launcher/hasher/FileNameMatcher.java | 3 --- 3 files changed, 7 deletions(-) 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 {