Skip to content

Commit

Permalink
Format with spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwinther committed Dec 6, 2024
1 parent ace3ba6 commit c4e24eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ private void updateHelmRepository(CatalogWrapper cw) {
entry ->
CollectionUtils.isEmpty(cw.getExcludeAnnotations())
|| !entry.getValue()
.getFirst()
.hasAnnotations(cw.getExcludeAnnotations()))
.getFirst()
.hasAnnotations(
cw.getExcludeAnnotations()))
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)));
// For each service, filter the multiple versions if needed then refresh remaining
// versions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,7 @@ private static Stream<Arguments> includeAnnotations() {
List.of("CD"),
Map.of("lifecycle", "production"),
null,
Set.of())
);
Set.of()));
}

private static Stream<Arguments> excludeAnnotations() {
Expand All @@ -301,7 +300,6 @@ private static Stream<Arguments> excludeAnnotations() {
null,
Map.of("lifecycle", "production"),
Map.of("lifecycle", "production"),
Set.of())
);
Set.of()));
}
}

0 comments on commit c4e24eb

Please sign in to comment.