Skip to content

Commit 3017d77

Browse files
committed
Polishing.
Adds author tags to changes files in previous commit. Original pull request #327 Signed-off-by: onobc <[email protected]>
1 parent 8e7bf80 commit 3017d77

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

spring-grpc-client-spring-boot-autoconfigure/src/main/java/org/springframework/boot/grpc/client/autoconfigure/GrpcClientProperties.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737

3838
import io.grpc.ManagedChannel;
3939

40+
/**
41+
* Configuration properties for the gRPC client side.
42+
*
43+
* @author Dave Syer
44+
* @author Chris Bono
45+
* @author Vahid Ramezani
46+
*/
4047
@ConfigurationProperties(prefix = "spring.grpc.client")
4148
public class GrpcClientProperties implements EnvironmentAware, VirtualTargets {
4249

@@ -361,8 +368,8 @@ ChannelConfig copy() {
361368
copy.maxInboundMetadataSize = this.maxInboundMetadataSize;
362369
copy.userAgent = this.userAgent;
363370
copy.defaultDeadline = this.defaultDeadline;
364-
copy.secure = this.secure;
365371
copy.health.copyValuesFrom(this.getHealth());
372+
copy.secure = this.secure;
366373
copy.ssl.copyValuesFrom(this.getSsl());
367374
copy.serviceConfig.putAll(this.serviceConfig);
368375
return copy;

spring-grpc-client-spring-boot-autoconfigure/src/test/java/org/springframework/boot/grpc/client/autoconfigure/GrpcClientPropertiesTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* Tests for {@link GrpcClientProperties}.
4242
*
4343
* @author Chris Bono
44+
* @author Vahid Ramezani
4445
*/
4546
class GrpcClientPropertiesTests {
4647

0 commit comments

Comments
 (0)