Shorten line in FileUtil

This commit is contained in:
Draycia 2019-06-10 11:22:05 -07:00
parent 4851655110
commit 5b92dd5553
No known key found for this signature in database
GPG Key ID: 22737D719CBB43C8

View File

@ -75,7 +75,9 @@ public class FileUtil {
list = new ArrayList<>();
}
try (URLClassLoader cl = new URLClassLoader(new URL[]{jar}, clazz.getClassLoader()); JarInputStream jis = new JarInputStream(jar.openStream())) {
try (URLClassLoader cl = new URLClassLoader(new URL[]{jar}, clazz.getClassLoader());
JarInputStream jis = new JarInputStream(jar.openStream())) {
while (true) {
JarEntry j = jis.getNextJarEntry();
if (j == null) {