Skip to content

Commit 2300a57

Browse files
committed
fix: whitelisted prefixes also includes files
1 parent 9312621 commit 2300a57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/org/jetbrains/java/decompiler/main/ClassesProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public boolean isWhitelisted(String cls) {
8282
return true;
8383

8484
for (String prefix : this.whitelist) {
85-
if (cls.startsWith(prefix))
85+
if (cls.startsWith(prefix) || prefix.startsWith(cls))
8686
return true;
8787
}
8888

0 commit comments

Comments
 (0)