Skip to content

Commit d8c6d53

Browse files
committed
Grammar fixes
1 parent 24f0c22 commit d8c6d53

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

samples/snippets/src/main/java/com/example/bigtable/InstanceAdminExample.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void close() {
106106
adminClient.close();
107107
}
108108

109-
/** Demonstrates how to create a Production instance within a provided project. */
109+
/** Demonstrates how to create an instance within a provided project. */
110110
public void createProdInstance() {
111111
// Checks if instance exists, creates instance if does not exists.
112112
if (!adminClient.exists(instanceId)) {
@@ -149,17 +149,17 @@ public void createProdInstance() {
149149
/**
150150
* Demonstrates how to create a Production instance within a provided project with tags.
151151
*
152-
* <p>Tags are a way to organize and govern resources across Google Cloud, see:
153-
* https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
152+
* <p>Tags are a way to organize and govern resources across Google Cloud, see
153+
* [Creating and managing tags](https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing)
154154
*
155155
*
156-
* NOTE: Unlike Labels, a Tag (Key and Value) must be created before it can be
156+
* NOTE: Unlike labels, a tag (Key and Value) must be created before it can be
157157
* attached to a resource.
158-
* See: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing and
159-
* https://docs.cloud.google.com/bigtable/docs/tags for more information.
158+
* See [Creating and managing tags](https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing)
159+
* and [Tags overview](https://docs.cloud.google.com/bigtable/docs/tags) for more information.
160160
*/
161161
public void createProdInstanceWithTags() {
162-
// Checks if instance exists, creates instance if does not exists.
162+
// Creates an instance if it doesn't exist.
163163
if (!adminClient.exists(instanceId)) {
164164
System.out.println("Instance does not exist, creating a PRODUCTION instance with tags");
165165

0 commit comments

Comments
 (0)