Skip to content

Commit b9169d1

Browse files
committed
chore(gapic): remove dash from client lifecycle comment
1 parent 00a37f2 commit b9169d1

File tree

143 files changed

+326
-326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+326
-326
lines changed

sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/CommentComposer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public class CommentComposer {
8888
"- The samples create a client that can be re-used for multiple requests\n"
8989
+ " and are expected to be long-lived.\n"
9090
+ " The clients should be resource managed properly and eventually closed.\n"
91-
+ "- For more information on client lifecycle, see\n"
91+
+ "For more information on client lifecycle, see\n"
9292
+ "https://docs.cloud.google.com/java/docs/client-lifecycle")));
9393

9494
public static final List<Statement> AUTO_GENERATED_SAMPLE_COMMENT =

sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/goldens/GrpcServiceClientWithNestedClassImport.golden

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import javax.annotation.Generated;
2323
* // - The samples create a client that can be re-used for multiple requests
2424
* // and are expected to be long-lived.
2525
* // The clients should be resource managed properly and eventually closed.
26-
* // - For more information on client lifecycle, see
26+
* // For more information on client lifecycle, see
2727
* // https://docs.cloud.google.com/java/docs/client-lifecycle
2828
* NestedMessageServiceClient nestedMessageServiceClient = NestedMessageServiceClient.create();
2929
* Outer.Middle request = Outer.Middle.newBuilder().setX(120).build();
@@ -77,7 +77,7 @@ import javax.annotation.Generated;
7777
* // - The samples create a client that can be re-used for multiple requests
7878
* // and are expected to be long-lived.
7979
* // The clients should be resource managed properly and eventually closed.
80-
* // - For more information on client lifecycle, see
80+
* // For more information on client lifecycle, see
8181
* // https://docs.cloud.google.com/java/docs/client-lifecycle
8282
* NestedMessageServiceSettings nestedMessageServiceSettings =
8383
* NestedMessageServiceSettings.newBuilder()
@@ -98,7 +98,7 @@ import javax.annotation.Generated;
9898
* // - The samples create a client that can be re-used for multiple requests
9999
* // and are expected to be long-lived.
100100
* // The clients should be resource managed properly and eventually closed.
101-
* // - For more information on client lifecycle, see
101+
* // For more information on client lifecycle, see
102102
* // https://docs.cloud.google.com/java/docs/client-lifecycle
103103
* NestedMessageServiceSettings nestedMessageServiceSettings =
104104
* NestedMessageServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
@@ -171,7 +171,7 @@ public class NestedMessageServiceClient implements BackgroundResource {
171171
* // - The samples create a client that can be re-used for multiple requests
172172
* // and are expected to be long-lived.
173173
* // The clients should be resource managed properly and eventually closed.
174-
* // - For more information on client lifecycle, see
174+
* // For more information on client lifecycle, see
175175
* // https://docs.cloud.google.com/java/docs/client-lifecycle
176176
* NestedMessageServiceClient nestedMessageServiceClient = NestedMessageServiceClient.create();
177177
* Outer.Middle request = Outer.Middle.newBuilder().setX(120).build();
@@ -198,7 +198,7 @@ public class NestedMessageServiceClient implements BackgroundResource {
198198
* // - The samples create a client that can be re-used for multiple requests
199199
* // and are expected to be long-lived.
200200
* // The clients should be resource managed properly and eventually closed.
201-
* // - For more information on client lifecycle, see
201+
* // For more information on client lifecycle, see
202202
* // https://docs.cloud.google.com/java/docs/client-lifecycle
203203
* NestedMessageServiceClient nestedMessageServiceClient = NestedMessageServiceClient.create();
204204
* Outer.Middle request = Outer.Middle.newBuilder().setX(120).build();

sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/goldens/ShowcaseWithEchoPackageInfo.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* // - The samples create a client that can be re-used for multiple requests
2020
* // and are expected to be long-lived.
2121
* // The clients should be resource managed properly and eventually closed.
22-
* // - For more information on client lifecycle, see
22+
* // For more information on client lifecycle, see
2323
* // https://docs.cloud.google.com/java/docs/client-lifecycle
2424
* EchoClient echoClient = EchoClient.create();
2525
* EchoResponse response = echoClient.echo();

sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/BookshopClient.golden

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import javax.annotation.Generated;
2424
* // - The samples create a client that can be re-used for multiple requests
2525
* // and are expected to be long-lived.
2626
* // The clients should be resource managed properly and eventually closed.
27-
* // - For more information on client lifecycle, see
27+
* // For more information on client lifecycle, see
2828
* // https://docs.cloud.google.com/java/docs/client-lifecycle
2929
* BookshopClient bookshopClient = BookshopClient.create();
3030
* int booksCount = 1618425911;
@@ -83,7 +83,7 @@ import javax.annotation.Generated;
8383
* // - The samples create a client that can be re-used for multiple requests
8484
* // and are expected to be long-lived.
8585
* // The clients should be resource managed properly and eventually closed.
86-
* // - For more information on client lifecycle, see
86+
* // For more information on client lifecycle, see
8787
* // https://docs.cloud.google.com/java/docs/client-lifecycle
8888
* BookshopSettings bookshopSettings =
8989
* BookshopSettings.newBuilder()
@@ -103,7 +103,7 @@ import javax.annotation.Generated;
103103
* // - The samples create a client that can be re-used for multiple requests
104104
* // and are expected to be long-lived.
105105
* // The clients should be resource managed properly and eventually closed.
106-
* // - For more information on client lifecycle, see
106+
* // For more information on client lifecycle, see
107107
* // https://docs.cloud.google.com/java/docs/client-lifecycle
108108
* BookshopSettings bookshopSettings =
109109
* BookshopSettings.newBuilder().setEndpoint(myEndpoint).build();
@@ -174,7 +174,7 @@ public class BookshopClient implements BackgroundResource {
174174
* // - The samples create a client that can be re-used for multiple requests
175175
* // and are expected to be long-lived.
176176
* // The clients should be resource managed properly and eventually closed.
177-
* // - For more information on client lifecycle, see
177+
* // For more information on client lifecycle, see
178178
* // https://docs.cloud.google.com/java/docs/client-lifecycle
179179
* BookshopClient bookshopClient = BookshopClient.create();
180180
* int booksCount = 1618425911;
@@ -205,7 +205,7 @@ public class BookshopClient implements BackgroundResource {
205205
* // - The samples create a client that can be re-used for multiple requests
206206
* // and are expected to be long-lived.
207207
* // The clients should be resource managed properly and eventually closed.
208-
* // - For more information on client lifecycle, see
208+
* // For more information on client lifecycle, see
209209
* // https://docs.cloud.google.com/java/docs/client-lifecycle
210210
* BookshopClient bookshopClient = BookshopClient.create();
211211
* String booksList = "booksList2-1119589686";
@@ -236,7 +236,7 @@ public class BookshopClient implements BackgroundResource {
236236
* // - The samples create a client that can be re-used for multiple requests
237237
* // and are expected to be long-lived.
238238
* // The clients should be resource managed properly and eventually closed.
239-
* // - For more information on client lifecycle, see
239+
* // For more information on client lifecycle, see
240240
* // https://docs.cloud.google.com/java/docs/client-lifecycle
241241
* BookshopClient bookshopClient = BookshopClient.create();
242242
* GetBookRequest request =
@@ -268,7 +268,7 @@ public class BookshopClient implements BackgroundResource {
268268
* // - The samples create a client that can be re-used for multiple requests
269269
* // and are expected to be long-lived.
270270
* // The clients should be resource managed properly and eventually closed.
271-
* // - For more information on client lifecycle, see
271+
* // For more information on client lifecycle, see
272272
* // https://docs.cloud.google.com/java/docs/client-lifecycle
273273
* BookshopClient bookshopClient = BookshopClient.create();
274274
* GetBookRequest request =

sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/DeprecatedServiceClient.golden

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import javax.annotation.Generated;
2323
* // - The samples create a client that can be re-used for multiple requests
2424
* // and are expected to be long-lived.
2525
* // The clients should be resource managed properly and eventually closed.
26-
* // - For more information on client lifecycle, see
26+
* // For more information on client lifecycle, see
2727
* // https://docs.cloud.google.com/java/docs/client-lifecycle
2828
* DeprecatedServiceClient deprecatedServiceClient = DeprecatedServiceClient.create();
2929
* FibonacciRequest request = FibonacciRequest.newBuilder().setValue(111972721).build();
@@ -91,7 +91,7 @@ import javax.annotation.Generated;
9191
* // - The samples create a client that can be re-used for multiple requests
9292
* // and are expected to be long-lived.
9393
* // The clients should be resource managed properly and eventually closed.
94-
* // - For more information on client lifecycle, see
94+
* // For more information on client lifecycle, see
9595
* // https://docs.cloud.google.com/java/docs/client-lifecycle
9696
* DeprecatedServiceSettings deprecatedServiceSettings =
9797
* DeprecatedServiceSettings.newBuilder()
@@ -112,7 +112,7 @@ import javax.annotation.Generated;
112112
* // - The samples create a client that can be re-used for multiple requests
113113
* // and are expected to be long-lived.
114114
* // The clients should be resource managed properly and eventually closed.
115-
* // - For more information on client lifecycle, see
115+
* // For more information on client lifecycle, see
116116
* // https://docs.cloud.google.com/java/docs/client-lifecycle
117117
* DeprecatedServiceSettings deprecatedServiceSettings =
118118
* DeprecatedServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
@@ -188,7 +188,7 @@ public class DeprecatedServiceClient implements BackgroundResource {
188188
* // - The samples create a client that can be re-used for multiple requests
189189
* // and are expected to be long-lived.
190190
* // The clients should be resource managed properly and eventually closed.
191-
* // - For more information on client lifecycle, see
191+
* // For more information on client lifecycle, see
192192
* // https://docs.cloud.google.com/java/docs/client-lifecycle
193193
* DeprecatedServiceClient deprecatedServiceClient = DeprecatedServiceClient.create();
194194
* FibonacciRequest request = FibonacciRequest.newBuilder().setValue(111972721).build();
@@ -215,7 +215,7 @@ public class DeprecatedServiceClient implements BackgroundResource {
215215
* // - The samples create a client that can be re-used for multiple requests
216216
* // and are expected to be long-lived.
217217
* // The clients should be resource managed properly and eventually closed.
218-
* // - For more information on client lifecycle, see
218+
* // For more information on client lifecycle, see
219219
* // https://docs.cloud.google.com/java/docs/client-lifecycle
220220
* DeprecatedServiceClient deprecatedServiceClient = DeprecatedServiceClient.create();
221221
* FibonacciRequest request = FibonacciRequest.newBuilder().setValue(111972721).build();
@@ -241,7 +241,7 @@ public class DeprecatedServiceClient implements BackgroundResource {
241241
* // - The samples create a client that can be re-used for multiple requests
242242
* // and are expected to be long-lived.
243243
* // The clients should be resource managed properly and eventually closed.
244-
* // - For more information on client lifecycle, see
244+
* // For more information on client lifecycle, see
245245
* // https://docs.cloud.google.com/java/docs/client-lifecycle
246246
* DeprecatedServiceClient deprecatedServiceClient = DeprecatedServiceClient.create();
247247
* FibonacciRequest request = FibonacciRequest.newBuilder().setValue(111972721).build();
@@ -270,7 +270,7 @@ public class DeprecatedServiceClient implements BackgroundResource {
270270
* // - The samples create a client that can be re-used for multiple requests
271271
* // and are expected to be long-lived.
272272
* // The clients should be resource managed properly and eventually closed.
273-
* // - For more information on client lifecycle, see
273+
* // For more information on client lifecycle, see
274274
* // https://docs.cloud.google.com/java/docs/client-lifecycle
275275
* DeprecatedServiceClient deprecatedServiceClient = DeprecatedServiceClient.create();
276276
* FibonacciRequest request = FibonacciRequest.newBuilder().setValue(111972721).build();

0 commit comments

Comments
 (0)