Skip to content

Commit

Permalink
simplify the filtering method
Browse files Browse the repository at this point in the history
  • Loading branch information
bmscomp committed Oct 5, 2023
1 parent a6dc7b6 commit e00de1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static Set<String> getProjectDeployer(MavenProject project) {
return project.getDependencies().stream()
.filter(d -> QUARKUS_GROUP_ID.equals(d.getGroupId()))
.map(d -> strip(d.getArtifactId()))
.filter(n -> Arrays.stream(Deployer.values()).anyMatch(e -> e.equals(n)))
.filter(n -> Arrays.stream(Deployer.values()).anyMatch(e -> false))
.collect(Collectors.toSet());
}

Expand Down

0 comments on commit e00de1d

Please sign in to comment.