{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/110009694","pull_request_review_id":31150261,"id":110009694,"diff_hunk":"@@ -0,0 +1,37 @@\n+/*\n+ * Copyright 2017 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+package com.google.cloud.logging;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.List;\n+\n+public abstract class EnhancerFactory {\n+","path":"google-cloud-logging/src/main/java/com/google/cloud/logging/EnhancerFactory.java","position":24,"original_position":24,"commit_id":"9a239cf5747245cee15d0f4e0d3d47012afcab4c","original_commit_id":"9a239cf5747245cee15d0f4e0d3d47012afcab4c","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars2.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: [A switch statement does not contain a break](https://www.codacy.com/app/mziccard/google-cloud-java/pullRequest?prid=590597)","created_at":"2017-04-05T19:42:23Z","updated_at":"2017-04-05T19:42:23Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1847#discussion_r110009694","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/110009694"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1847#discussion_r110009694"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847","id":113966601,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1847","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1847.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1847.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1847","number":1847,"state":"open","locked":false,"title":"Logging refactor of JUL + monitored resource construction","user":{"login":"jabubake","id":23587163,"avatar_url":"https://avatars1.githubusercontent.com/u/23587163?v=3","gravatar_id":"","url":"https://api.github.com/users/jabubake","html_url":"https://github.com/jabubake","followers_url":"https://api.github.com/users/jabubake/followers","following_url":"https://api.github.com/users/jabubake/following{/other_user}","gists_url":"https://api.github.com/users/jabubake/gists{/gist_id}","starred_url":"https://api.github.com/users/jabubake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabubake/subscriptions","organizations_url":"https://api.github.com/users/jabubake/orgs","repos_url":"https://api.github.com/users/jabubake/repos","events_url":"https://api.github.com/users/jabubake/events{/privacy}","received_events_url":"https://api.github.com/users/jabubake/received_events","type":"User","site_admin":false},"body":"Auto detection of select resources to get JUL working across GCP environments  and refactoring of code to help support more adapters like Slf4j.\r\nTesting across GCP in progress.\r\nSee Issue [#1654](https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1654)","created_at":"2017-04-03T16:07:57Z","updated_at":"2017-04-05T19:42:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc19b16a60583c9c9f5421b533bb5bd9f1dd0683","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847/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/1847/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/9a239cf5747245cee15d0f4e0d3d47012afcab4c","head":{"label":"jabubake:ja_logging_refactor","ref":"ja_logging_refactor","sha":"9a239cf5747245cee15d0f4e0d3d47012afcab4c","user":{"login":"jabubake","id":23587163,"avatar_url":"https://avatars1.githubusercontent.com/u/23587163?v=3","gravatar_id":"","url":"https://api.github.com/users/jabubake","html_url":"https://github.com/jabubake","followers_url":"https://api.github.com/users/jabubake/followers","following_url":"https://api.github.com/users/jabubake/following{/other_user}","gists_url":"https://api.github.com/users/jabubake/gists{/gist_id}","starred_url":"https://api.github.com/users/jabubake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabubake/subscriptions","organizations_url":"https://api.github.com/users/jabubake/orgs","repos_url":"https://api.github.com/users/jabubake/repos","events_url":"https://api.github.com/users/jabubake/events{/privacy}","received_events_url":"https://api.github.com/users/jabubake/received_events","type":"User","site_admin":false},"repo":{"id":82236316,"name":"google-cloud-java","full_name":"jabubake/google-cloud-java","owner":{"login":"jabubake","id":23587163,"avatar_url":"https://avatars1.githubusercontent.com/u/23587163?v=3","gravatar_id":"","url":"https://api.github.com/users/jabubake","html_url":"https://github.com/jabubake","followers_url":"https://api.github.com/users/jabubake/followers","following_url":"https://api.github.com/users/jabubake/following{/other_user}","gists_url":"https://api.github.com/users/jabubake/gists{/gist_id}","starred_url":"https://api.github.com/users/jabubake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabubake/subscriptions","organizations_url":"https://api.github.com/users/jabubake/orgs","repos_url":"https://api.github.com/users/jabubake/repos","events_url":"https://api.github.com/users/jabubake/events{/privacy}","received_events_url":"https://api.github.com/users/jabubake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jabubake/google-cloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/jabubake/google-cloud-java","forks_url":"https://api.github.com/repos/jabubake/google-cloud-java/forks","keys_url":"https://api.github.com/repos/jabubake/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jabubake/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jabubake/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/jabubake/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/jabubake/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/jabubake/google-cloud-java/events","assignees_url":"https://api.github.com/repos/jabubake/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/jabubake/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/jabubake/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/jabubake/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jabubake/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jabubake/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/jabubake/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jabubake/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/jabubake/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/jabubake/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/jabubake/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/jabubake/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/jabubake/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/jabubake/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/jabubake/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/jabubake/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/jabubake/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/jabubake/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/jabubake/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jabubake/google-cloud-java/merges","archive_url":"https://api.github.com/repos/jabubake/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jabubake/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/jabubake/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/jabubake/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/jabubake/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/jabubake/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jabubake/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/jabubake/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/jabubake/google-cloud-java/deployments","created_at":"2017-02-16T23:30:08Z","updated_at":"2017-02-16T23:30:14Z","pushed_at":"2017-04-05T19:28:09Z","git_url":"git://github.com/jabubake/google-cloud-java.git","ssh_url":"git@github.com:jabubake/google-cloud-java.git","clone_url":"https://github.com/jabubake/google-cloud-java.git","svn_url":"https://github.com/jabubake/google-cloud-java","homepage":"http://googlecloudplatform.github.io/google-cloud-java/","size":101293,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"88eff83126d60ff4fb83541f8c954afdc8da425f","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.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":"google-cloud-java","full_name":"GoogleCloudPlatform/google-cloud-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.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/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":"2017-04-05T18:11:46Z","pushed_at":"2017-04-05T19:28:11Z","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":"http://googlecloudplatform.github.io/google-cloud-java/","size":122145,"stargazers_count":281,"watchers_count":281,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":163,"mirror_url":null,"open_issues_count":220,"forks":163,"open_issues":220,"watchers":281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1847"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1847"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1847/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1847/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/1847/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/9a239cf5747245cee15d0f4e0d3d47012afcab4c"}}}}
{"actor":{"display_login":"codacy-bot"}}