Skip to content

Commit 9fb65f5

Browse files
committed
Fixes whitespace around while blocks
1 parent 4eba6f2 commit 9fb65f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

speech/cloud-client/src/main/java/com/example/speech/Recognize.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void main(String... args) throws Exception {
4848
}
4949
String command = args[0];
5050
String path = args.length > 1 ? args[1] : "";
51-
51+
5252
if (command.equals("syncrecognize")) {
5353
if (path.startsWith("gs://")) {
5454
syncRecognizeGcs(path);
@@ -62,7 +62,7 @@ public static void main(String... args) throws Exception {
6262
asyncRecognizeFile(path);
6363
}
6464
}
65-
65+
6666

6767
}
6868

@@ -138,7 +138,7 @@ public static void asyncRecognizeFile(String fileName) throws Exception, IOExcep
138138

139139
OperationFuture<AsyncRecognizeResponse> response = speech.asyncRecognizeAsync(config, audio);
140140

141-
while(!response.isDone()) {
141+
while (!response.isDone()) {
142142
System.out.println("Waiting for response...");
143143
Thread.sleep(200);
144144
}
@@ -167,7 +167,7 @@ public static void asyncRecognizeGcs(String gcsUri) throws Exception, IOExceptio
167167

168168
OperationFuture<AsyncRecognizeResponse> response = speech.asyncRecognizeAsync(config, audio);
169169

170-
while(!response.isDone()) {
170+
while (!response.isDone()) {
171171
System.out.println("Waiting for response...");
172172
Thread.sleep(200);
173173
}

0 commit comments

Comments
 (0)