diff --git a/bigquery/src/main/java/com/google/cloud/bigquery/samples/BigqueryServiceFactory.java b/bigquery/src/main/java/com/google/cloud/bigquery/samples/BigqueryServiceFactory.java index ad79ddb2721..a9037ef4bd5 100644 --- a/bigquery/src/main/java/com/google/cloud/bigquery/samples/BigqueryServiceFactory.java +++ b/bigquery/src/main/java/com/google/cloud/bigquery/samples/BigqueryServiceFactory.java @@ -80,7 +80,7 @@ private static Bigquery createAuthorizedClient() throws IOException { JsonFactory jsonFactory = new JacksonFactory(); GoogleCredential credential = GoogleCredential.getApplicationDefault(transport, jsonFactory); - // Depending on the environment that provides the default credentials (eg Compute Engine, App + // Depending on the environment that provides the default credentials (e.g. Compute Engine, App // Engine), the credentials may require us to specify the scopes we need explicitly. // Check for this case, and inject the Bigquery scope if required. if (credential.createScopedRequired()) { diff --git a/storage/json-api/src/main/java/StorageSample.java b/storage/json-api/src/main/java/StorageSample.java index c3d9b3e42ad..3f5442ae53c 100644 --- a/storage/json-api/src/main/java/StorageSample.java +++ b/storage/json-api/src/main/java/StorageSample.java @@ -109,7 +109,7 @@ public static Bucket getBucket(String bucketName) throws IOException, GeneralSec Storage client = getService(); Storage.Buckets.Get bucketRequest = client.buckets().get(bucketName); - // Fetch the full set of the bucket's properties (eg include the ACLs in the response) + // Fetch the full set of the bucket's properties (e.g. include the ACLs in the response) bucketRequest.setProjection("full"); return bucketRequest.execute(); }