Merge pull request #183 from GravitLauncher/refactor

[ANY] Выполнено organize imports.
This commit is contained in:
Gravit 2019-02-27 12:04:04 +07:00 committed by GitHub
commit 2300584501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 7 deletions

View file

@ -14,7 +14,6 @@
import ru.gravit.launcher.request.update.LegacyLauncherRequest; import ru.gravit.launcher.request.update.LegacyLauncherRequest;
import ru.gravit.launcher.serialize.HInput; import ru.gravit.launcher.serialize.HInput;
import ru.gravit.launcher.serialize.HOutput; import ru.gravit.launcher.serialize.HOutput;
import ru.gravit.launcher.serialize.signed.SignedObjectHolder;
import ru.gravit.launcher.serialize.stream.StreamObject; import ru.gravit.launcher.serialize.stream.StreamObject;
import ru.gravit.utils.PublicURLClassLoader; import ru.gravit.utils.PublicURLClassLoader;
import ru.gravit.utils.helper.*; import ru.gravit.utils.helper.*;
@ -412,7 +411,6 @@ public static void main(String... args) throws Throwable {
Params params; Params params;
ClientProfile profile; ClientProfile profile;
HashedDir assetHDir, clientHDir; HashedDir assetHDir, clientHDir;
RSAPublicKey publicKey = Launcher.getConfig().publicKey;
try { try {
try (Socket socket = IOHelper.newSocket()) { try (Socket socket = IOHelper.newSocket()) {
socket.connect(new InetSocketAddress(SOCKET_HOST, SOCKET_PORT)); socket.connect(new InetSocketAddress(SOCKET_HOST, SOCKET_PORT));

View file

@ -6,7 +6,6 @@
import ru.gravit.launcher.profiles.ClientProfile; import ru.gravit.launcher.profiles.ClientProfile;
import ru.gravit.launcher.serialize.HInput; import ru.gravit.launcher.serialize.HInput;
import ru.gravit.launcher.serialize.HOutput; import ru.gravit.launcher.serialize.HOutput;
import ru.gravit.launcher.serialize.signed.SignedObjectHolder;
import ru.gravit.utils.helper.*; import ru.gravit.utils.helper.*;
import javax.crypto.BadPaddingException; import javax.crypto.BadPaddingException;
@ -14,7 +13,6 @@
import java.io.IOException; import java.io.IOException;
import java.nio.file.Path; import java.nio.file.Path;
import java.security.SignatureException; import java.security.SignatureException;
import java.security.interfaces.RSAPublicKey;
import java.util.HashMap; import java.util.HashMap;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;

View file

@ -1,9 +1,6 @@
package ru.gravit.launcher.hasher; package ru.gravit.launcher.hasher;
import ru.gravit.launcher.LauncherAPI; import ru.gravit.launcher.LauncherAPI;
import ru.gravit.utils.helper.LogHelper;
import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
public final class FileNameMatcher { public final class FileNameMatcher {