Skip to content

Commit eeb625b

Browse files
ngocnhan-tran1996dsyer
authored andcommitted
Remove obsolete code
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent a99ac62 commit eeb625b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-grpc-spring-boot-autoconfigure/src/main/java/org/springframework/grpc/autoconfigure/server/GrpcServerFactoryConfigurations.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024-2024 the original author or authors.
2+
* Copyright 2024-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -64,7 +64,6 @@ ShadedNettyGrpcServerFactory shadedNettyGrpcServerFactory(GrpcServerProperties p
6464
keyManager = bundle.getManagers().getKeyManagerFactory();
6565
trustManager = properties.getSsl().isSecure() ? bundle.getManagers().getTrustManagerFactory()
6666
: io.grpc.netty.shaded.io.netty.handler.ssl.util.InsecureTrustManagerFactory.INSTANCE;
67-
trustManager = bundle.getManagers().getTrustManagerFactory();
6867
}
6968
ShadedNettyGrpcServerFactory factory = new ShadedNettyGrpcServerFactory(properties.getAddress(),
7069
builderCustomizers, keyManager, trustManager, properties.getSsl().getClientAuth());

0 commit comments

Comments
 (0)