Skip to content

Commit ec6919d

Browse files
authored
Fixed warning (#837)
1 parent 57522a1 commit ec6919d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/codegen/OpenApiConfigValidator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import java.util.Set;
88
import java.util.regex.Matcher;
99
import java.util.regex.Pattern;
10-
import java.util.stream.Collectors;
1110

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

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

0 commit comments

Comments
 (0)