Skip to content

Commit b8b2612

Browse files
committed
Add comment in snippet classes reminding to update docs upon change
1 parent b392345 commit b8b2612

10 files changed

Lines changed: 60 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.bigquery.snippets;
1824

1925
import com.google.gcloud.bigquery.BigQuery;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.bigquery.snippets;
1824

1925
import com.google.gcloud.bigquery.BigQuery;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.datastore.snippets;
1824

1925
import com.google.gcloud.datastore.Datastore;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.datastore.snippets;
1824

1925
import com.google.gcloud.datastore.Datastore;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.datastore.snippets;
1824

1925
import com.google.gcloud.datastore.Datastore;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.resourcemanager.snippets;
1824

1925
import com.google.gcloud.resourcemanager.Project;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.resourcemanager.snippets;
1824

1925
import com.google.gcloud.resourcemanager.Project;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.storage.snippets;
1824

1925
import static java.nio.charset.StandardCharsets.UTF_8;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.storage.snippets;
1824

1925
import static java.nio.charset.StandardCharsets.UTF_8;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/*
18+
* EDITING INSTRUCTIONS
19+
* 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.
21+
*/
22+
1723
package com.google.gcloud.examples.storage.snippets;
1824

1925
import static java.nio.charset.StandardCharsets.UTF_8;

0 commit comments

Comments
 (0)