Skip to content

Commit e1a5790

Browse files
committed
style: Use imported List name in OpenApiServer constructor
1 parent edce6b0 commit e1a5790

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/retailsvc/http/OpenApiServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ record HandlerConfig(
6767
List<AfterResponseHook> afterHooks) {}
6868

6969
OpenApiServer(
70-
java.util.List<SpecBinding> bindings,
70+
List<SpecBinding> bindings,
7171
Map<String, TypeMapper> bodyMappers,
7272
HandlerConfig handlerConfig,
7373
int port,
@@ -390,7 +390,7 @@ public OpenApiServer build() throws IOException {
390390
SSLContext sslContext =
391391
httpsCertChain != null ? PemSslContext.load(httpsCertChain, httpsPrivateKey) : null;
392392
return new OpenApiServer(
393-
java.util.List.of(binding),
393+
List.of(binding),
394394
resolved,
395395
handlerConfig,
396396
resolvedPort,

0 commit comments

Comments
 (0)