Skip to content

Commit

Permalink
Fixed warning (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbelmiro authored Oct 31, 2024
1 parent 57522a1 commit ec6919d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -29,7 +28,7 @@ public static void validateInputConfiguration(List<String> configNames) throws C
.filter(pn -> pn.startsWith("quarkus.openapi-generator.codegen"))
.map(CONFIG_PATTERN::matcher)
.filter(Matcher::find)
.collect(Collectors.toList());
.toList();

if (!userOpenApiConfigurations.isEmpty()) {
Set<String> unsupportedConfigNames = new HashSet<>();
Expand Down

0 comments on commit ec6919d

Please sign in to comment.