Skip to content

Commit

Permalink
MappingPoet: Fix scanNestedClasses not scanning libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Feb 26, 2025
1 parent 371bf32 commit 001842b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ private static void forEachClass(Path jar, ClassNodeConsumer classNodeConsumer,
Map<String, Environment.NestedClassInfo> nestedClasses = new ConcurrentHashMap<>();
Map<String, ClassNamePointer> classNames = new ConcurrentHashMap<>();

if (libraries.isEmpty()) {
scanNestedClasses(classNames, nestedClasses, libraries);
}
scanNestedClasses(classNames, nestedClasses, libraries);

try (JarFile jarFile = new JarFile(jar.toFile())) {
Enumeration<JarEntry> entryEnumerator = jarFile.entries();
Expand Down

0 comments on commit 001842b

Please sign in to comment.