Errors fix.

This commit is contained in:
zaxar163 2019-01-08 17:39:49 +04:00
parent 494d83ae92
commit d250b6432c
No known key found for this signature in database
GPG key ID: CEE900027AE098E0
4 changed files with 0 additions and 5 deletions

View file

@ -23,7 +23,6 @@ public class JAConfigurator implements AutoCloseable {
public JAConfigurator(String configclass, MainBuildTask jarLauncherBinary) throws NotFoundException { public JAConfigurator(String configclass, MainBuildTask jarLauncherBinary) throws NotFoundException {
pool = new ClassPool(false); pool = new ClassPool(false);
pool.insertClassPath(jarLauncherBinary.cleanJar.toFile().getAbsolutePath());
pool.appendSystemPath(); pool.appendSystemPath();
classname = configclass; classname = configclass;
ctClass = pool.get(classname); ctClass = pool.get(classname);

View file

@ -4,7 +4,6 @@
import java.nio.file.Files; import java.nio.file.Files;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Locale;
import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.atomic.AtomicLong;
import ru.gravit.launcher.Launcher; import ru.gravit.launcher.Launcher;

View file

@ -1,11 +1,9 @@
package ru.gravit.launchserver.binary.tasks.api; package ru.gravit.launchserver.binary.tasks.api;
import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.jar.JarFile;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream; import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream; import java.util.zip.ZipOutputStream;

View file

@ -2,7 +2,6 @@
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Optional;
import java.util.function.Predicate; import java.util.function.Predicate;
import java.util.stream.Collectors; import java.util.stream.Collectors;