Skip to content

Commit 03b5c76

Browse files
committed
modified comment
1 parent f0e8755 commit 03b5c76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

speech/grpc/src/main/java/com/google/cloud/speech/grpc/demos/AsyncRecognizeClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ public void shutdown() throws InterruptedException {
106106
channel.shutdown().awaitTermination(5, TimeUnit.SECONDS);
107107
}
108108

109-
/** Send an async-recognize request to server. */
109+
/**
110+
* Sends a request to the speech API and returns an Operation handle.
111+
*/
110112
public void recognize() {
111113
RecognitionAudio audio;
112114
try {
@@ -129,7 +131,7 @@ public void recognize() {
129131
try {
130132
operation = speechClient.asyncRecognize(request);
131133

132-
//Print the long running operation handle
134+
// Print the long running operation handle
133135
logger.log(
134136
Level.INFO,
135137
String.format("Operation handle: %s, URI: %s", operation.getName(), input.toString()));

0 commit comments

Comments
 (0)