Skip to content

Commit a98df2a

Browse files
committed
[BAEL-10218] - Updated code to the latest version and modified code
1 parent b970aaa commit a98df2a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

grpc/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
</build>
7272

7373
<properties>
74-
<io.grpc.version>1.5.0</io.grpc.version>
75-
<os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
76-
<protobuf-maven-plugin.version>0.5.0</protobuf-maven-plugin.version>
74+
<io.grpc.version>1.16.1</io.grpc.version>
75+
<os-maven-plugin.version>1.6.1</os-maven-plugin.version>
76+
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
7777
</properties>
7878

7979
</project>

grpc/src/main/java/org/baeldung/grpc/client/GrpcClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public class GrpcClient {
1111
public static void main(String[] args) throws InterruptedException {
1212
ManagedChannel channel = ManagedChannelBuilder.forAddress("localhost", 8080)
13-
.usePlaintext(true)
13+
.usePlaintext()
1414
.build();
1515

1616
HelloServiceGrpc.HelloServiceBlockingStub stub

0 commit comments

Comments
 (0)