{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/75685875","id":75685875,"diff_hunk":"@@ -0,0 +1,687 @@\n+/*\n+ * Copyright 2016 Google Inc. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *       http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+/*\n+ * EDITING INSTRUCTIONS\n+ * This file is referenced in Storage's javadoc. Any change to this file should be reflected in\n+ * Storage's javadoc.\n+ */\n+\n+package com.google.cloud.examples.storage.snippets;\n+\n+import static java.nio.charset.StandardCharsets.UTF_8;\n+\n+import com.google.cloud.AuthCredentials;\n+import com.google.cloud.BatchResult;\n+import com.google.cloud.Page;\n+import com.google.cloud.ReadChannel;\n+import com.google.cloud.ServiceAccountSigner;\n+import com.google.cloud.WriteChannel;\n+import com.google.cloud.storage.Blob;\n+import com.google.cloud.storage.BlobId;\n+import com.google.cloud.storage.BlobInfo;\n+import com.google.cloud.storage.Bucket;\n+import com.google.cloud.storage.BucketInfo;\n+import com.google.cloud.storage.CopyWriter;\n+import com.google.cloud.storage.Storage;\n+import com.google.cloud.storage.Storage.BlobGetOption;\n+import com.google.cloud.storage.Storage.BlobListOption;\n+import com.google.cloud.storage.Storage.BlobSourceOption;\n+import com.google.cloud.storage.Storage.BlobTargetOption;\n+import com.google.cloud.storage.Storage.BucketGetOption;\n+import com.google.cloud.storage.Storage.BucketListOption;\n+import com.google.cloud.storage.Storage.BucketSourceOption;\n+import com.google.cloud.storage.Storage.ComposeRequest;\n+import com.google.cloud.storage.Storage.CopyRequest;\n+import com.google.cloud.storage.Storage.SignUrlOption;\n+import com.google.cloud.storage.StorageBatch;\n+import com.google.cloud.storage.StorageBatchResult;\n+import com.google.cloud.storage.StorageException;\n+\n+import java.io.ByteArrayInputStream;\n+import java.io.FileInputStream;\n+import java.io.IOException;\n+import java.io.InputStream;\n+import java.net.URL;\n+import java.nio.ByteBuffer;\n+import java.util.HashMap;\n+import java.util.Iterator;\n+import java.util.LinkedList;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.concurrent.TimeUnit;\n+\n+/**\n+ * This class contains a number of snippets for the {@link Storage} interface.\n+ */\n+public class StorageSnippets {\n+\n+  private final Storage storage;\n+\n+  public StorageSnippets(Storage storage) {\n+    this.storage = storage;\n+  }\n+\n+  /**\n+   * Example of creating a bucket.\n+   */\n+  // [TARGET create(BucketInfo, BucketTargetOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  public Bucket createBucket(String bucketName) {\n+    // [START createBucket]\n+    Bucket bucket = storage.create(BucketInfo.of(bucketName));\n+    // [END createBucket]\n+    return bucket;\n+  }\n+\n+  /**\n+   * Example of creating a blob with no content.\n+   */\n+  // [TARGET create(BlobInfo, BlobTargetOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_blob_name\"]\n+  public Blob createBlob(String bucketName, String blobName) {\n+    // [START createBlob]\n+    BlobId blobId = BlobId.of(bucketName, blobName);\n+    BlobInfo blobInfo = BlobInfo.builder(blobId).contentType(\"text/plain\").build();\n+    Blob blob = storage.create(blobInfo);\n+    // [END createBlob]\n+    return blob;\n+  }\n+\n+  /**\n+   * Example of creating a blob from a byte array.\n+   */\n+  // [TARGET create(BlobInfo, byte[], BlobTargetOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_blob_name\"]\n+  public Blob createBlobFromByteArray(String bucketName, String blobName) {\n+    // [START createBlobFromByteArray]\n+    BlobId blobId = BlobId.of(bucketName, blobName);\n+    BlobInfo blobInfo = BlobInfo.builder(blobId).contentType(\"text/plain\").build();\n+    Blob blob = storage.create(blobInfo, \"Hello, World!\".getBytes(UTF_8));\n+    // [END createBlobFromByteArray]\n+    return blob;\n+  }\n+\n+  /**\n+   * Example of creating a blob from an input stream.\n+   */\n+  // [TARGET create(BlobInfo, InputStream, BlobWriteOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_blob_name\"]\n+  public Blob createBlobFromInputStream(String bucketName, String blobName) {\n+    // [START createBlobFromInputStream]\n+    InputStream content = new ByteArrayInputStream(\"Hello, World!\".getBytes(UTF_8));\n+    BlobId blobId = BlobId.of(bucketName, blobName);\n+    BlobInfo blobInfo = BlobInfo.builder(blobId).contentType(\"text/plain\").build();\n+    Blob blob = storage.create(blobInfo, content);\n+    // [END createBlobFromInputStream]\n+    return blob;\n+  }\n+\n+  /**\n+   * Example of getting information on a bucket, only if its metageneration matches a value,\n+   * otherwise a {@link StorageException} is thrown.\n+   */\n+  // [TARGET get(String, BucketGetOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE 42]\n+  public Bucket getBucketWithMetageneration(String bucketName, long bucketMetageneration) {\n+    // [START getBucketWithMetageneration]\n+    Bucket bucket = storage.get(bucketName,\n+        BucketGetOption.metagenerationMatch(bucketMetageneration));\n+    // [END getBucketWithMetageneration]\n+    return bucket;\n+  }\n+\n+  /**\n+   * Example of getting information on a blob, only if its metageneration matches a value, otherwise\n+   * a {@link StorageException} is thrown.\n+   */\n+  // [TARGET get(String, String, BlobGetOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_blob_name\"]\n+  // [VARIABLE 42]\n+  public Blob getBlobFromStringsWithMetageneration(String bucketName, String blobName,\n+      long blobMetageneration) {\n+    // [START getBlobFromStringsWithMetageneration]\n+    Blob blob = storage.get(bucketName, blobName,\n+        BlobGetOption.metagenerationMatch(blobMetageneration));\n+    // [END getBlobFromStringsWithMetageneration]\n+    return blob;\n+  }\n+\n+  /**\n+   * Example of getting information on a blob.\n+   */\n+  // [TARGET get(BlobId)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_blob_name\"]\n+  public Blob getBlobFromId(String bucketName, String blobName) {\n+    // [START getBlobFromId]\n+    BlobId blobId = BlobId.of(bucketName, blobName);\n+    Blob blob = storage.get(blobId);\n+    // [END getBlobFromId]\n+    return blob;\n+  }\n+\n+  /**\n+   * Example of getting information on a blob, only if its metageneration matches a value, otherwise\n+   * a {@link StorageException} is thrown.\n+   */\n+  // [TARGET get(BlobId, BlobGetOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_blob_name\"]\n+  // [VARIABLE 42]\n+  public Blob getBlobFromIdWithMetageneration(String bucketName, String blobName,\n+      long blobMetageneration) {\n+    // [START getBlobFromIdWithMetageneration]\n+    BlobId blobId = BlobId.of(bucketName, blobName);\n+    Blob blob = storage.get(blobId, BlobGetOption.metagenerationMatch(blobMetageneration));\n+    // [END getBlobFromIdWithMetageneration]\n+    return blob;\n+  }\n+\n+  /**\n+   * Example of listing buckets, specifying the page size and a name prefix.\n+   */\n+  // [TARGET list(BucketListOption...)]\n+  // [VARIABLE \"bucket_\"]\n+  public Iterator<Bucket> listBucketsWithSizeAndPrefix(String prefix) {\n+    // [START listBucketsWithSizeAndPrefix]\n+    Page<Bucket> buckets = storage.list(BucketListOption.pageSize(100),\n+        BucketListOption.prefix(prefix));\n+    Iterator<Bucket> bucketIterator = buckets.iterateAll();\n+    while (bucketIterator.hasNext()) {\n+      Bucket bucket = bucketIterator.next();\n+      // do something with the bucket\n+    }\n+    // [END listBucketsWithSizeAndPrefix]\n+    return bucketIterator;\n+  }\n+\n+  /**\n+   * Example of listing buckets, specifying the page size and a name prefix.\n+   */\n+  // [TARGET list(String, BlobListOption...)]\n+  // [VARIABLE \"my_unique_bucket\"]\n+  // [VARIABLE \"my_directory\"]\n+  public Iterator<Blob> listBlobsWithDirectoryAndPrefix(String bucketName, String directory) {\n+    // [START listBlobsWithDirectoryAndPrefix]\n+    Page<Blob> blobs = storage.list(bucketName, BlobListOption.currentDirectory(),\n+        BlobListOption.prefix(directory));\n+    Iterator<Blob> blobIterator = blobs.iterateAll();\n+    while (blobIterator.hasNext()) {\n+      Blob blob = blobIterator.next();","path":"gcloud-java-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java","position":229,"original_position":229,"commit_id":"9a291ce7697b70146324c3fd927e82c525fd9da8","original_commit_id":"9a291ce7697b70146324c3fd927e82c525fd9da8","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused local variables such as 'blob'.](https://www.codacy.com/app/mziccard/gcloud-java/file/3480701835/issues/source?bid=3123103&fileBranchId=3535625#l229)","created_at":"2016-08-22T14:19:51Z","updated_at":"2016-08-22T14:19:51Z","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1146#discussion_r75685875","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/75685875"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1146#discussion_r75685875"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146","id":80789356,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1146","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1146.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1146.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1146","number":1146,"state":"open","locked":false,"title":"Add snippets to Storage's javadoc","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"body":"This goes in the direction of adding snippets to each method's javadoc. Does the job for the `Storage` interface.\r\n\r\nSnippets are all taken from and link back to the `StorageSnippets` class.","created_at":"2016-08-10T12:59:34Z","updated_at":"2016-08-22T14:19:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fa6c923591cf8c2415d0698d485d51a97a01e90","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1146/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/9a291ce7697b70146324c3fd927e82c525fd9da8","head":{"label":"mziccard:storage-javadoc-examples","ref":"storage-javadoc-examples","sha":"9a291ce7697b70146324c3fd927e82c525fd9da8","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"repo":{"id":40965279,"name":"gcloud-java","full_name":"mziccard/gcloud-java","owner":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mziccard/gcloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/mziccard/gcloud-java","forks_url":"https://api.github.com/repos/mziccard/gcloud-java/forks","keys_url":"https://api.github.com/repos/mziccard/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mziccard/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mziccard/gcloud-java/teams","hooks_url":"https://api.github.com/repos/mziccard/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/mziccard/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/mziccard/gcloud-java/events","assignees_url":"https://api.github.com/repos/mziccard/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/mziccard/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/mziccard/gcloud-java/tags","blobs_url":"https://api.github.com/repos/mziccard/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mziccard/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mziccard/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/mziccard/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mziccard/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/mziccard/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/mziccard/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/mziccard/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/mziccard/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/mziccard/gcloud-java/subscription","commits_url":"https://api.github.com/repos/mziccard/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/mziccard/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/mziccard/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/mziccard/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/mziccard/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/mziccard/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mziccard/gcloud-java/merges","archive_url":"https://api.github.com/repos/mziccard/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mziccard/gcloud-java/downloads","issues_url":"https://api.github.com/repos/mziccard/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/mziccard/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/mziccard/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/mziccard/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mziccard/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/mziccard/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/mziccard/gcloud-java/deployments","created_at":"2015-08-18T10:16:17Z","updated_at":"2016-01-12T12:42:25Z","pushed_at":"2016-08-22T14:16:35Z","git_url":"git://github.com/mziccard/gcloud-java.git","ssh_url":"git@github.com:mziccard/gcloud-java.git","clone_url":"https://github.com/mziccard/gcloud-java.git","svn_url":"https://github.com/mziccard/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/site/0.0.6/","size":54895,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"4b1f0e90c51827d5e8a1dd5a7c349c7cadfe047f","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":26181278,"name":"gcloud-java","full_name":"GoogleCloudPlatform/gcloud-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2016-08-20T10:47:21Z","pushed_at":"2016-08-22T14:16:36Z","git_url":"git://github.com/GoogleCloudPlatform/gcloud-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/gcloud-java.git","clone_url":"https://github.com/GoogleCloudPlatform/gcloud-java.git","svn_url":"https://github.com/GoogleCloudPlatform/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/","size":242932,"stargazers_count":133,"watchers_count":133,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":69,"mirror_url":null,"open_issues_count":140,"forks":69,"open_issues":140,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1146"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1146"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1146/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1146/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/9a291ce7697b70146324c3fd927e82c525fd9da8"}}}}
{"actor":{"display_login":"codacy-bot"}}