Skip to content

Commit

Permalink
Merge pull request #326 from Luro02/main
Browse files Browse the repository at this point in the history
fix crash, because of `package-info.java`
  • Loading branch information
Luro02 authored Dec 11, 2023
2 parents d8033f6 + c1cd15c commit eb1f6ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class FileSourceInfo implements SourceInfo, Serializable {
try (Stream<Path> fileStream = Files.walk(this.file.toPath())) {
this.compilationUnits = fileStream
.filter(p -> p.toString().endsWith(".java"))
.filter(p -> !p.toString().endsWith("package-info.java"))
//.filter(p -> !p.toString().endsWith("package-info.java"))
.map(Path::toFile)
.map(file -> {
Path root = this.path();
Expand Down

0 comments on commit eb1f6ac

Please sign in to comment.