mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-11-25 20:15:43 +01:00
Shorten line in FileUtil
This commit is contained in:
parent
4851655110
commit
5b92dd5553
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user