Skip to content

Commit 14e76e7

Browse files
authored
fix: Fix typo in generated comment (#1006)
1 parent e5988a0 commit 14e76e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class ServiceClientCommentComposer {
5656
private static final String SERVICE_DESCRIPTION_ENDPOINT_SUMMARY_STRING =
5757
"To customize the endpoint:";
5858
private static final String SERVICE_DESCRIPTION_TRANSPORT_SUMMARY_STRING =
59-
"To use %s transport (instead of %s) for sending an receiving requests over the wire:";
59+
"To use %s transport (instead of %s) for sending and receiving requests over the wire:";
6060

6161
private static final String SERVICE_DESCRIPTION_SAMPLE_REFERENCE_STRING =
6262
"Please refer to the GitHub repository's samples for more quickstart code snippets.";

src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoClient.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ import javax.annotation.Generated;
8787
* EchoClient echoClient = EchoClient.create(echoSettings);
8888
* }</pre>
8989
*
90-
* <p>To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending an receiving requests over
90+
* <p>To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
9191
* the wire:
9292
*
9393
* <pre>{@code

src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoEmpty.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import javax.annotation.Generated;
6767
* EchoEmpyClient echoEmpyClient = EchoEmpyClient.create(echoEmpySettings);
6868
* }</pre>
6969
*
70-
* <p>To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending an receiving requests over
70+
* <p>To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
7171
* the wire:
7272
*
7373
* <pre>{@code

0 commit comments

Comments
 (0)