|
|
@ -150,10 +150,8 @@ class Library constructor() : Iterable<ClassNode> { |
|
|
|
|
|
|
|
|
|
|
|
JarInputStream(Files.newInputStream(path)).use { `in` -> |
|
|
|
JarInputStream(Files.newInputStream(path)).use { `in` -> |
|
|
|
while (true) { |
|
|
|
while (true) { |
|
|
|
val entry = `in`.nextJarEntry |
|
|
|
val entry = `in`.nextJarEntry ?: break |
|
|
|
if (entry == null) { |
|
|
|
if (!entry.name.endsWith(CLASS_SUFFIX)) { |
|
|
|
break |
|
|
|
|
|
|
|
} else if (!entry.name.endsWith(CLASS_SUFFIX)) { |
|
|
|
|
|
|
|
continue |
|
|
|
continue |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|