GeezerVison is showing github.com — "eg" -> "e.g." · tswast/java-docs-samples@b3a4d2a
File tree
Expand file treeCollapse file tree
Open diff view settings
bigquery/src/main/java/com/google/cloud/bigquery/samples storage/json-api/src/main/java
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: bigquery/src/main/java/com/google/cloud/bigquery/samples/BigqueryServiceFactory.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -80,7 +80,7 @@ private static Bigquery createAuthorizedClient() throws IOException { |
80 | 80 | JsonFactory jsonFactory = new JacksonFactory(); |
81 | 81 | GoogleCredential credential = GoogleCredential.getApplicationDefault(transport, jsonFactory); |
82 | 82 |
|
83 | | - // Depending on the environment that provides the default credentials (eg Compute Engine, App |
| 83 | + // Depending on the environment that provides the default credentials (e.g. Compute Engine, App |
84 | 84 | // Engine), the credentials may require us to specify the scopes we need explicitly. |
85 | 85 | // Check for this case, and inject the Bigquery scope if required. |
86 | 86 | if (credential.createScopedRequired()) { |
|
Collapse file
Copy file name to clipboardExpand all lines: storage/json-api/src/main/java/StorageSample.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -109,7 +109,7 @@ public static Bucket getBucket(String bucketName) throws IOException, GeneralSec |
109 | 109 | Storage client = getService(); |
110 | 110 |
|
111 | 111 | Storage.Buckets.Get bucketRequest = client.buckets().get(bucketName); |
112 | | - // Fetch the full set of the bucket's properties (eg include the ACLs in the response) |
| 112 | + // Fetch the full set of the bucket's properties (e.g. include the ACLs in the response) |
113 | 113 | bucketRequest.setProjection("full"); |
114 | 114 | return bucketRequest.execute(); |
115 | 115 | } |
|