Skip to content

Commit 526eb5f

Browse files
committed
Fix minor documentation issues in examples
1 parent 6fed3ee commit 526eb5f

12 files changed

Lines changed: 13 additions & 14 deletions

File tree

gcloud-java-examples/src/main/java/com/google/gcloud/examples/bigquery/snippets/CreateTableAndLoadData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.bigquery.snippets;
@@ -35,7 +35,7 @@
3535

3636
/**
3737
* A snippet for Google Cloud BigQuery showing how to get a BigQuery table or create it if it does
38-
* not exists. The snippet also starts a BigQuery job to load data into the table from a Cloud
38+
* not exist. The snippet also starts a BigQuery job to load data into the table from a Cloud
3939
* Storage blob and wait until the job completes.
4040
*/
4141
public class CreateTableAndLoadData {

gcloud-java-examples/src/main/java/com/google/gcloud/examples/bigquery/snippets/InsertDataAndQueryTable.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.bigquery.snippets;
@@ -48,7 +48,6 @@
4848
public class InsertDataAndQueryTable {
4949

5050
public static void main(String... args) throws InterruptedException {
51-
5251
// Create a service instance
5352
BigQuery bigquery = BigQueryOptions.defaultInstance().service();
5453

gcloud-java-examples/src/main/java/com/google/gcloud/examples/datastore/DatastoreExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private static class DeleteAction implements DatastoreAction {
6767
public void run(Transaction tx, Key userKey, String... args) {
6868
Entity user = tx.get(userKey);
6969
if (user == null) {
70-
System.out.println("Nothing to delete, user does not exists.");
70+
System.out.println("Nothing to delete, user does not exist.");
7171
return;
7272
}
7373
Query<Key> query = Query.keyQueryBuilder()

gcloud-java-examples/src/main/java/com/google/gcloud/examples/datastore/snippets/AddEntitiesAndRunQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.datastore.snippets;

gcloud-java-examples/src/main/java/com/google/gcloud/examples/datastore/snippets/CreateEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.datastore.snippets;

gcloud-java-examples/src/main/java/com/google/gcloud/examples/datastore/snippets/UpdateEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.datastore.snippets;

gcloud-java-examples/src/main/java/com/google/gcloud/examples/resourcemanager/snippets/GetOrCreateProject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.resourcemanager.snippets;

gcloud-java-examples/src/main/java/com/google/gcloud/examples/resourcemanager/snippets/UpdateAndListProjects.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.resourcemanager.snippets;

gcloud-java-examples/src/main/java/com/google/gcloud/examples/storage/StorageExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* <li>login using gcloud SDK - {@code gcloud auth login}.</li>
6666
* <li>compile using maven - {@code mvn compile}</li>
6767
* <li>run using maven -
68-
* <pre>{@code mvn exec:java -Dexec.mainClass="com.google.gcloud.examples.StorageExample"
68+
* <pre>{@code mvn exec:java -Dexec.mainClass="com.google.gcloud.examples.storage.StorageExample"
6969
* -Dexec.args="[<project_id>]
7070
* list [<bucket>] |
7171
* info [<bucket> [<file>]] |

gcloud-java-examples/src/main/java/com/google/gcloud/examples/storage/snippets/CreateAndListBucketsAndBlobs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* EDITING INSTRUCTIONS
1919
* This file is referenced in READMEs and javadoc. Any change to this file should be reflected in
20-
* project's READMEs and package-info.java.
20+
* the project's READMEs and package-info.java.
2121
*/
2222

2323
package com.google.gcloud.examples.storage.snippets;

0 commit comments

Comments
 (0)