Skip to content

Commit 4762ef0

Browse files
committed
Remove references to missing methods and imports.
The Netty imports are no longer used, so checkstyle was failing.
1 parent df2efd4 commit 4762ef0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

speech/grpc/src/main/java/com/examples/cloud/speech/AsyncRecognizeClient.java

-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
import io.grpc.ManagedChannelBuilder;
3232
import io.grpc.StatusRuntimeException;
3333
import io.grpc.auth.ClientAuthInterceptor;
34-
import io.grpc.netty.NegotiationType;
35-
import io.grpc.netty.NettyChannelBuilder;
3634
import org.apache.commons.cli.CommandLine;
3735
import org.apache.commons.cli.CommandLineParser;
3836
import org.apache.commons.cli.DefaultParser;
@@ -88,7 +86,6 @@ public static ManagedChannel createChannel(String host, int port) throws IOExcep
8886
creds = creds.createScoped(OAUTH2_SCOPES);
8987
ManagedChannel channel =
9088
ManagedChannelBuilder.forAddress(host, port)
91-
.negotiationType(NegotiationType.TLS)
9289
.intercept(new ClientAuthInterceptor(creds, Executors.newSingleThreadExecutor()))
9390
.build();
9491

0 commit comments

Comments
 (0)