diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/LauncherRequestEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/LauncherRequestEvent.java index a8c51c03..72efc8a6 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/LauncherRequestEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/LauncherRequestEvent.java @@ -19,7 +19,7 @@ public LauncherRequestEvent(boolean needUpdate, String url) { this.needUpdate = needUpdate; this.url = url; } - + @LauncherNetworkAPI public boolean needUpdate; public LauncherRequestEvent(boolean b, byte[] digest) { diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/ProfilesRequestEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/ProfilesRequestEvent.java index edfae7b3..0de636c9 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/ProfilesRequestEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/ProfilesRequestEvent.java @@ -20,8 +20,6 @@ public ProfilesRequestEvent(List profiles) { public ProfilesRequestEvent() { } - String error; - @Override public UUID getUUID() { return uuid; diff --git a/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedDir.java b/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedDir.java index 86079f27..699f9474 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedDir.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedDir.java @@ -1,6 +1,7 @@ package ru.gravit.launcher.hasher; import ru.gravit.launcher.LauncherAPI; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.serialize.HInput; import ru.gravit.launcher.serialize.HOutput; import ru.gravit.launcher.serialize.stream.EnumSerializer; @@ -100,7 +101,7 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO return super.visitFile(file, attrs); } } - + @LauncherNetworkAPI private final Map map = new HashMap<>(32); @LauncherAPI diff --git a/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedFile.java b/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedFile.java index 9179ff9a..3827f77d 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedFile.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/hasher/HashedFile.java @@ -1,6 +1,7 @@ package ru.gravit.launcher.hasher; import ru.gravit.launcher.LauncherAPI; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.serialize.HInput; import ru.gravit.launcher.serialize.HOutput; import ru.gravit.utils.helper.IOHelper; @@ -18,6 +19,7 @@ public final class HashedFile extends HashedEntry { // Instance @LauncherAPI public final long size; + @LauncherNetworkAPI private final byte[] digest; @LauncherAPI