Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Update deprecated calls #628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions content/guides/gRPC/Java.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ As specified at [grpc-java on Github](https://github.com/grpc/grpc-java#download
{{</highlight>}}

{{<highlight text>}}
compile 'io.grpc:grpc-netty-shaded:1.16.1'
compile 'io.grpc:grpc-protobuf:1.16.1'
compile 'io.grpc:grpc-stub:1.16.1'
implementation 'io.grpc:grpc-netty-shaded:1.16.1'
implementation 'io.grpc:grpc-protobuf:1.16.1'
implementation 'io.grpc:grpc-stub:1.16.1'
{{</highlight>}}

{{<highlight text>}}
compile 'io.grpc:grpc-okhttp:1.16.1'
compile 'io.grpc:grpc-protobuf-lite:1.16.1'
compile 'io.grpc:grpc-stub:1.16.1'
implementation 'io.grpc:grpc-okhttp:1.16.1'
implementation 'io.grpc:grpc-protobuf-lite:1.16.1'
implementation 'io.grpc:grpc-stub:1.16.1'
{{</highlight>}}
{{</tabs>}}

Expand Down Expand Up @@ -451,7 +451,7 @@ public class TutorialServer {
}

// Register all the gRPC views and enable stats
RpcViews.registerAllViews();
RpcViews.registerAllGrpcViews();

// Create the Stackdriver stats exporter
StackdriverStatsExporter.createAndRegister(
Expand Down Expand Up @@ -551,7 +551,7 @@ public class TutorialServer {
}

// Register all the gRPC views and enable stats
RpcViews.registerAllViews();
RpcViews.registerAllGrpcViews();

// Create the Stackdriver stats exporter
StackdriverStatsExporter.createAndRegister(
Expand Down Expand Up @@ -849,7 +849,7 @@ public class TutorialClient {
}

// Register all the gRPC views and enable stats
RpcViews.registerAllViews();
RpcViews.registerAllGrpcViews();

// Create the Stackdriver stats exporter
StackdriverStatsExporter.createAndRegister(
Expand Down Expand Up @@ -935,7 +935,7 @@ public class TutorialClient {
}

// Register all the gRPC views and enable stats
RpcViews.registerAllViews();
RpcViews.registerAllGrpcViews();

// Create the Stackdriver stats exporter
StackdriverStatsExporter.createAndRegister(
Expand Down