Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Java: Removing bad curly in sample code (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjonesgoogle authored Jun 1, 2017
1 parent 6281d86 commit 1ababd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
@private bidiStreamingCallableSampleCode(apiMethod)
{@responseObserver(apiMethod)}
ApiStreamObserver<StreamingRecognizeRequest> requestObserver =
{@apiMethod.apiVariableName}.{@apiMethod.name}().bidiStreamingCall(responseObserver)});
{@apiMethod.apiVariableName}.{@apiMethod.name}().bidiStreamingCall(responseObserver));

{@initCode(apiMethod.initCode)}
requestObserver.onNext(request);
Expand All @@ -104,13 +104,13 @@
{@initCode(apiMethod.initCode)}

{@apiMethod.apiVariableName}.{@apiMethod.name}().serverStreamingCall(\
{@sampleMethodCallArgList(apiMethod.initCode.fieldSettings)}, responseObserver)});
{@sampleMethodCallArgList(apiMethod.initCode.fieldSettings)}, responseObserver));
@end

@private clientStreamingCallableSampleCode(apiMethod)
{@responseObserver(apiMethod)}
ApiStreamObserver<StreamingRecognizeRequest> requestObserver =
{@apiMethod.apiVariableName}.{@apiMethod.name}().clientStreamingCall(responseObserver)});
{@apiMethod.apiVariableName}.{@apiMethod.name}().clientStreamingCall(responseObserver));

{@initCode(apiMethod.initCode)}
requestObserver.onNext(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@ public class LibraryClient implements AutoCloseable {
*
* StreamShelvesRequest request = StreamShelvesRequest.newBuilder().build();
*
* libraryClient.streamShelvesCallable().serverStreamingCall(request, responseObserver)});
* libraryClient.streamShelvesCallable().serverStreamingCall(request, responseObserver));
* }
* </code></pre>
*/
Expand Down Expand Up @@ -1832,7 +1832,7 @@ public class LibraryClient implements AutoCloseable {
* .setName(name)
* .build();
*
* libraryClient.streamBooksCallable().serverStreamingCall(request, responseObserver)});
* libraryClient.streamBooksCallable().serverStreamingCall(request, responseObserver));
* }
* </code></pre>
*/
Expand Down Expand Up @@ -1866,7 +1866,7 @@ public class LibraryClient implements AutoCloseable {
* }
* };
* ApiStreamObserver&lt;StreamingRecognizeRequest&gt; requestObserver =
* libraryClient.discussBookCallable().bidiStreamingCall(responseObserver)});
* libraryClient.discussBookCallable().bidiStreamingCall(responseObserver));
*
* String name = "";
* DiscussBookRequest request = DiscussBookRequest.newBuilder()
Expand Down Expand Up @@ -1906,7 +1906,7 @@ public class LibraryClient implements AutoCloseable {
* }
* };
* ApiStreamObserver&lt;StreamingRecognizeRequest&gt; requestObserver =
* libraryClient.monologAboutBookCallable().clientStreamingCall(responseObserver)});
* libraryClient.monologAboutBookCallable().clientStreamingCall(responseObserver));
*
* String name = "";
* DiscussBookRequest request = DiscussBookRequest.newBuilder()
Expand Down

0 comments on commit 1ababd3

Please sign in to comment.