{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/176162315","pull_request_review_id":105817792,"id":176162315,"diff_hunk":"@@ -0,0 +1,60 @@\n+/*\n+ * Copyright 2018 Google LLC\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+ *     https://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+package com.google.cloud.videointelligence.v1;\n+\n+import com.google.common.base.Preconditions;\n+import java.util.Arrays;\n+import java.util.List;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+\n+@javax.annotation.Generated(\"by GAPIC\")\n+public class VideoIntelligenceServiceSmokeTest {\n+  private static final String PROJECT_ENV_NAME = \"GOOGLE_CLOUD_PROJECT\";\n+  private static final String LEGACY_PROJECT_ENV_NAME = \"GCLOUD_PROJECT\";\n+\n+  public static void main(String args[]) {\n+    Logger.getLogger(\"\").setLevel(Level.WARNING);\n+    try {\n+      executeNoCatch();\n+      System.out.println(\"OK\");\n+    } catch (Exception e) {\n+      System.err.println(\"Failed with exception:\");\n+      e.printStackTrace(System.err);\n+      System.exit(1);","path":"google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSmokeTest.java","position":37,"original_position":37,"commit_id":"d50c5c394a1dea8cea4c5321f3f995aee7bd3dc8","original_commit_id":"d984a09ecbd5e0fd002f0434841142f3776f274f","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","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://app.codacy.com/assets/images/favicon.png) Issue found: [System.exit() should not be used in J2EE/JEE apps](https://app.codacy.com/app/mziccard/google-cloud-java/pullRequest?prid=1458424)","created_at":"2018-03-21T17:05:56Z","updated_at":"2018-03-21T17:05:56Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3069#discussion_r176162315","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/176162315"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3069#discussion_r176162315"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069","id":176543166,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3069","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3069.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3069.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3069","number":3069,"state":"open","locked":false,"title":"Refresh Google Cloud Java with latest toolkit","user":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars2.githubusercontent.com/u/14846209?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"body":"Companion to https://github.com/googleapis/api-client-staging/pull/618","created_at":"2018-03-21T16:54:21Z","updated_at":"2018-03-21T17:05:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9ee94025a0e29cbe861f86b88d6f42b49e5b36a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pongad","id":1617025,"avatar_url":"https://avatars1.githubusercontent.com/u/1617025?v=4","gravatar_id":"","url":"https://api.github.com/users/pongad","html_url":"https://github.com/pongad","followers_url":"https://api.github.com/users/pongad/followers","following_url":"https://api.github.com/users/pongad/following{/other_user}","gists_url":"https://api.github.com/users/pongad/gists{/gist_id}","starred_url":"https://api.github.com/users/pongad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongad/subscriptions","organizations_url":"https://api.github.com/users/pongad/orgs","repos_url":"https://api.github.com/users/pongad/repos","events_url":"https://api.github.com/users/pongad/events{/privacy}","received_events_url":"https://api.github.com/users/pongad/received_events","type":"User","site_admin":false},{"login":"garrettjonesgoogle","id":13341017,"avatar_url":"https://avatars2.githubusercontent.com/u/13341017?v=4","gravatar_id":"","url":"https://api.github.com/users/garrettjonesgoogle","html_url":"https://github.com/garrettjonesgoogle","followers_url":"https://api.github.com/users/garrettjonesgoogle/followers","following_url":"https://api.github.com/users/garrettjonesgoogle/following{/other_user}","gists_url":"https://api.github.com/users/garrettjonesgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettjonesgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettjonesgoogle/subscriptions","organizations_url":"https://api.github.com/users/garrettjonesgoogle/orgs","repos_url":"https://api.github.com/users/garrettjonesgoogle/repos","events_url":"https://api.github.com/users/garrettjonesgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/garrettjonesgoogle/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":175662188,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/labels/cla:%20yes","name":"cla: yes","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3069/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/d50c5c394a1dea8cea4c5321f3f995aee7bd3dc8","head":{"label":"michaelbausor:refresh-gcj","ref":"refresh-gcj","sha":"d50c5c394a1dea8cea4c5321f3f995aee7bd3dc8","user":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars2.githubusercontent.com/u/14846209?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"repo":{"id":56005493,"name":"gcloud-java","full_name":"michaelbausor/gcloud-java","owner":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars2.githubusercontent.com/u/14846209?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelbausor/gcloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/michaelbausor/gcloud-java","forks_url":"https://api.github.com/repos/michaelbausor/gcloud-java/forks","keys_url":"https://api.github.com/repos/michaelbausor/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelbausor/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelbausor/gcloud-java/teams","hooks_url":"https://api.github.com/repos/michaelbausor/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/michaelbausor/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/michaelbausor/gcloud-java/events","assignees_url":"https://api.github.com/repos/michaelbausor/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/michaelbausor/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/michaelbausor/gcloud-java/tags","blobs_url":"https://api.github.com/repos/michaelbausor/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelbausor/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelbausor/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelbausor/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelbausor/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelbausor/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/michaelbausor/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/michaelbausor/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/michaelbausor/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/michaelbausor/gcloud-java/subscription","commits_url":"https://api.github.com/repos/michaelbausor/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelbausor/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelbausor/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelbausor/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelbausor/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/michaelbausor/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelbausor/gcloud-java/merges","archive_url":"https://api.github.com/repos/michaelbausor/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelbausor/gcloud-java/downloads","issues_url":"https://api.github.com/repos/michaelbausor/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/michaelbausor/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelbausor/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelbausor/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelbausor/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/michaelbausor/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/michaelbausor/gcloud-java/deployments","created_at":"2016-04-11T20:31:35Z","updated_at":"2016-04-11T20:31:38Z","pushed_at":"2018-03-21T17:00:14Z","git_url":"git://github.com/michaelbausor/gcloud-java.git","ssh_url":"git@github.com:michaelbausor/gcloud-java.git","clone_url":"https://github.com/michaelbausor/gcloud-java.git","svn_url":"https://github.com/michaelbausor/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/","size":158095,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"bdcdf596b14667a92d6fb367483331614c1ce1ef","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","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":"google-cloud-java","full_name":"GoogleCloudPlatform/google-cloud-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","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/google-cloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2018-03-21T13:37:22Z","pushed_at":"2018-03-21T17:00:15Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-java.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-java.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-java","homepage":"https://googlecloudplatform.github.io/google-cloud-java/","size":282028,"stargazers_count":605,"watchers_count":605,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":398,"mirror_url":null,"archived":false,"open_issues_count":74,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":398,"open_issues":74,"watchers":605,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3069"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3069"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3069/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3069/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/d50c5c394a1dea8cea4c5321f3f995aee7bd3dc8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}