diff --git a/src/main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java b/src/main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java index b30416a015..7401143754 100644 --- a/src/main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java +++ b/src/main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java @@ -56,7 +56,7 @@ public class ServiceClientCommentComposer { private static final String SERVICE_DESCRIPTION_ENDPOINT_SUMMARY_STRING = "To customize the endpoint:"; private static final String SERVICE_DESCRIPTION_TRANSPORT_SUMMARY_STRING = - "To use %s transport (instead of %s) for sending an receiving requests over the wire:"; + "To use %s transport (instead of %s) for sending and receiving requests over the wire:"; private static final String SERVICE_DESCRIPTION_SAMPLE_REFERENCE_STRING = "Please refer to the GitHub repository's samples for more quickstart code snippets."; diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoClient.golden b/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoClient.golden index 8f6fd7cf56..95f3ef9b99 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoClient.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoClient.golden @@ -87,7 +87,7 @@ import javax.annotation.Generated; * EchoClient echoClient = EchoClient.create(echoSettings); * } * - *
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending an receiving requests over + *
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over * the wire: * *
{@code diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoEmpty.golden b/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoEmpty.golden index 4e1cae4e5c..b010e5c9bd 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoEmpty.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoEmpty.golden @@ -67,7 +67,7 @@ import javax.annotation.Generated; * EchoEmpyClient echoEmpyClient = EchoEmpyClient.create(echoEmpySettings); * }* - *
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending an receiving requests over + *
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over * the wire: * *
{@code