diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java index f893eab2..26084680 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java @@ -23,7 +23,6 @@ public class JAConfigurator implements AutoCloseable { public JAConfigurator(String configclass, MainBuildTask jarLauncherBinary) throws NotFoundException { pool = new ClassPool(false); - pool.insertClassPath(jarLauncherBinary.cleanJar.toFile().getAbsolutePath()); pool.appendSystemPath(); classname = configclass; ctClass = pool.get(classname); diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JARLauncherBinary.java b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JARLauncherBinary.java index 31ba7dc9..287e87ad 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JARLauncherBinary.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JARLauncherBinary.java @@ -4,7 +4,6 @@ import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; -import java.util.Locale; import java.util.concurrent.atomic.AtomicLong; import ru.gravit.launcher.Launcher; diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/AttachJarsTask.java b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/AttachJarsTask.java index cbbb302a..7cce6d99 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/AttachJarsTask.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/AttachJarsTask.java @@ -1,11 +1,9 @@ package ru.gravit.launchserver.binary.tasks.api; -import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; -import java.util.jar.JarFile; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import java.util.zip.ZipOutputStream; diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/TaskUtil.java b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/TaskUtil.java index 0bc81a6e..644706b5 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/TaskUtil.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/tasks/api/TaskUtil.java @@ -2,7 +2,6 @@ import java.util.ArrayList; import java.util.List; -import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Collectors;