Skip to content

Commit

Permalink
[MRESOLVER-573] CollectionConfiguration should ignore module-info.java (
Browse files Browse the repository at this point in the history
  • Loading branch information
rfscholte authored Jun 21, 2024
1 parent 353ce1f commit 34adabb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public static void main(String[] args) throws Exception {
.map(Path::toAbsolutePath)
.filter(p -> p.getFileName().toString().endsWith(".java"))
.filter(p -> p.toString().contains("/src/main/java/"))
.filter(p -> !p.toString().endsWith("/module-info.java"))
.forEach(p -> {
JavaType<?> type = parse(p);
if (type instanceof JavaClassSource javaClassSource) {
Expand Down

0 comments on commit 34adabb

Please sign in to comment.