Skip to content

Commit

Permalink
fix: package comparison by name (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
burkedavison authored Oct 2, 2023
1 parent cda7f0c commit e81e9ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public List<PackageElement> findStubPackages(
String expectedStubPackageBase = pkg.getQualifiedName() + ".stub";
return packages.stream()
.filter(p -> String.valueOf(p.getQualifiedName()).startsWith(expectedStubPackageBase))
.sorted()
.sorted(Comparator.comparing(p -> String.valueOf(p.getQualifiedName())))
.collect(Collectors.toList());
}

Expand Down

0 comments on commit e81e9ba

Please sign in to comment.