Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit b68ac9c

Browse files
committed
Ran formatter
1 parent ec7e226 commit b68ac9c

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

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

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ public static void main(String[] args) throws IOException {
6363
if (args.length < 1 || args.length > 2) {
6464
System.out.println("Usage: java InstanceAdminExample <project-id> [createWithTags]");
6565
System.out.println(" <project-id>: The Google Cloud project ID");
66-
System.out.println(" [createWithTags]: Optional boolean (true/false) to enable resource tags on creation");
66+
System.out.println(
67+
" [createWithTags]: Optional boolean (true/false) to enable resource tags on creation");
6768
return;
6869
}
6970
String projectId = args[0];
@@ -111,17 +112,13 @@ void close() {
111112
* Demonstrates how to create an instance within a provided project.
112113
*
113114
* @param createWithTags If true, adds placeholder tags to the instance.
114-
*
115-
* <p>Tags are a way to organize and govern resources across Google Cloud, see
116-
* [Creating and managing tags](https://docs.cloud.google.com/resource-manager/docs/tags/tags-overview)
117-
*
118-
*
119-
* NOTE: Unlike labels, a tag (key and value) must be created before it can be
120-
* attached to a resource.
121-
* See [Creating and managing tags](https://docs.cloud.google.com/resource-manager/docs/tags/tags-overview)
122-
* and [Tags overview](https://docs.cloud.google.com/bigtable/docs/tags) for more information.
123-
*
124-
**/
115+
* <p>Tags are a way to organize and govern resources across Google Cloud, see [Creating and
116+
* managing tags](https://docs.cloud.google.com/resource-manager/docs/tags/tags-overview)
117+
* <p>NOTE: Unlike labels, a tag (key and value) must be created before it can be attached to
118+
* a resource. See [Creating and managing
119+
* tags](https://docs.cloud.google.com/resource-manager/docs/tags/tags-overview) and [Tags
120+
* overview](https://docs.cloud.google.com/bigtable/docs/tags) for more information.
121+
*/
125122
public void createProdInstance(boolean createWithTags) {
126123
// Checks if instance exists, creates instance if does not exists.
127124
if (!adminClient.exists(instanceId)) {

0 commit comments

Comments
 (0)