{"action":"created","comment":{"url":"https://api.github.com/repos/pmd/pmd/pulls/comments/186399273","pull_request_review_id":117967719,"id":186399273,"diff_hunk":"@@ -23,10 +25,52 @@\n     private Project project;\n \n     private static final Formatter FORMATTER = new PmdLogFormatter();\n+    private static final Level[] LOG_LEVELS = new Level[] {","path":"pmd-core/src/main/java/net/sourceforge/pmd/util/log/AntLogHandler.java","position":18,"original_position":18,"commit_id":"af741fa790bc8d9a7f7f4d1558783a620ab6d8fb","original_commit_id":"af741fa790bc8d9a7f7f4d1558783a620ab6d8fb","user":{"login":"oowekyala","id":24524930,"avatar_url":"https://avatars0.githubusercontent.com/u/24524930?v=4","gravatar_id":"","url":"https://api.github.com/users/oowekyala","html_url":"https://github.com/oowekyala","followers_url":"https://api.github.com/users/oowekyala/followers","following_url":"https://api.github.com/users/oowekyala/following{/other_user}","gists_url":"https://api.github.com/users/oowekyala/gists{/gist_id}","starred_url":"https://api.github.com/users/oowekyala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oowekyala/subscriptions","organizations_url":"https://api.github.com/users/oowekyala/orgs","repos_url":"https://api.github.com/users/oowekyala/repos","events_url":"https://api.github.com/users/oowekyala/events{/privacy}","received_events_url":"https://api.github.com/users/oowekyala/received_events","type":"User","site_admin":false},"body":"The `new Level[]` can be omitted","created_at":"2018-05-07T11:45:38Z","updated_at":"2018-05-07T11:46:42Z","html_url":"https://github.com/pmd/pmd/pull/1080#discussion_r186399273","pull_request_url":"https://api.github.com/repos/pmd/pmd/pulls/1080","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pmd/pmd/pulls/comments/186399273"},"html":{"href":"https://github.com/pmd/pmd/pull/1080#discussion_r186399273"},"pull_request":{"href":"https://api.github.com/repos/pmd/pmd/pulls/1080"}}},"pull_request":{"url":"https://api.github.com/repos/pmd/pmd/pulls/1080","id":186254768,"html_url":"https://github.com/pmd/pmd/pull/1080","diff_url":"https://github.com/pmd/pmd/pull/1080.diff","patch_url":"https://github.com/pmd/pmd/pull/1080.patch","issue_url":"https://api.github.com/repos/pmd/pmd/issues/1080","number":1080,"state":"open","locked":false,"title":"[core] Hack to get Ant's log level","user":{"login":"jsotuyod","id":802626,"avatar_url":"https://avatars3.githubusercontent.com/u/802626?v=4","gravatar_id":"","url":"https://api.github.com/users/jsotuyod","html_url":"https://github.com/jsotuyod","followers_url":"https://api.github.com/users/jsotuyod/followers","following_url":"https://api.github.com/users/jsotuyod/following{/other_user}","gists_url":"https://api.github.com/users/jsotuyod/gists{/gist_id}","starred_url":"https://api.github.com/users/jsotuyod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsotuyod/subscriptions","organizations_url":"https://api.github.com/users/jsotuyod/orgs","repos_url":"https://api.github.com/users/jsotuyod/repos","events_url":"https://api.github.com/users/jsotuyod/events{/privacy}","received_events_url":"https://api.github.com/users/jsotuyod/received_events","type":"User","site_admin":false},"body":" - Very ugly, uses reflection and is limited to the few\r\nimplementatations that come with Ant itself or and testutils\r\n - Intended as a starting point for fixing #1018","created_at":"2018-05-07T04:50:26Z","updated_at":"2018-05-07T11:46:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd5c54052079ec3dfc7070c5d450353134f1980c","assignee":{"login":"adangel","id":1573684,"avatar_url":"https://avatars2.githubusercontent.com/u/1573684?v=4","gravatar_id":"","url":"https://api.github.com/users/adangel","html_url":"https://github.com/adangel","followers_url":"https://api.github.com/users/adangel/followers","following_url":"https://api.github.com/users/adangel/following{/other_user}","gists_url":"https://api.github.com/users/adangel/gists{/gist_id}","starred_url":"https://api.github.com/users/adangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adangel/subscriptions","organizations_url":"https://api.github.com/users/adangel/orgs","repos_url":"https://api.github.com/users/adangel/repos","events_url":"https://api.github.com/users/adangel/events{/privacy}","received_events_url":"https://api.github.com/users/adangel/received_events","type":"User","site_admin":false},"assignees":[{"login":"adangel","id":1573684,"avatar_url":"https://avatars2.githubusercontent.com/u/1573684?v=4","gravatar_id":"","url":"https://api.github.com/users/adangel","html_url":"https://github.com/adangel","followers_url":"https://api.github.com/users/adangel/followers","following_url":"https://api.github.com/users/adangel/following{/other_user}","gists_url":"https://api.github.com/users/adangel/gists{/gist_id}","starred_url":"https://api.github.com/users/adangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adangel/subscriptions","organizations_url":"https://api.github.com/users/adangel/orgs","repos_url":"https://api.github.com/users/adangel/repos","events_url":"https://api.github.com/users/adangel/events{/privacy}","received_events_url":"https://api.github.com/users/adangel/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/pmd/pmd/milestones/21","html_url":"https://github.com/pmd/pmd/milestone/21","labels_url":"https://api.github.com/repos/pmd/pmd/milestones/21/labels","id":3289296,"number":21,"title":"6.4.0","description":"","creator":{"login":"oowekyala","id":24524930,"avatar_url":"https://avatars0.githubusercontent.com/u/24524930?v=4","gravatar_id":"","url":"https://api.github.com/users/oowekyala","html_url":"https://github.com/oowekyala","followers_url":"https://api.github.com/users/oowekyala/followers","following_url":"https://api.github.com/users/oowekyala/following{/other_user}","gists_url":"https://api.github.com/users/oowekyala/gists{/gist_id}","starred_url":"https://api.github.com/users/oowekyala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oowekyala/subscriptions","organizations_url":"https://api.github.com/users/oowekyala/orgs","repos_url":"https://api.github.com/users/oowekyala/repos","events_url":"https://api.github.com/users/oowekyala/events{/privacy}","received_events_url":"https://api.github.com/users/oowekyala/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":7,"state":"open","created_at":"2018-04-23T12:03:05Z","updated_at":"2018-05-07T04:50:26Z","due_on":"2018-05-27T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/pmd/pmd/pulls/1080/commits","review_comments_url":"https://api.github.com/repos/pmd/pmd/pulls/1080/comments","review_comment_url":"https://api.github.com/repos/pmd/pmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pmd/pmd/issues/1080/comments","statuses_url":"https://api.github.com/repos/pmd/pmd/statuses/af741fa790bc8d9a7f7f4d1558783a620ab6d8fb","head":{"label":"Monits:issue-1018","ref":"issue-1018","sha":"af741fa790bc8d9a7f7f4d1558783a620ab6d8fb","user":{"login":"Monits","id":802619,"avatar_url":"https://avatars0.githubusercontent.com/u/802619?v=4","gravatar_id":"","url":"https://api.github.com/users/Monits","html_url":"https://github.com/Monits","followers_url":"https://api.github.com/users/Monits/followers","following_url":"https://api.github.com/users/Monits/following{/other_user}","gists_url":"https://api.github.com/users/Monits/gists{/gist_id}","starred_url":"https://api.github.com/users/Monits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monits/subscriptions","organizations_url":"https://api.github.com/users/Monits/orgs","repos_url":"https://api.github.com/users/Monits/repos","events_url":"https://api.github.com/users/Monits/events{/privacy}","received_events_url":"https://api.github.com/users/Monits/received_events","type":"Organization","site_admin":false},"repo":{"id":39444540,"name":"pmd","full_name":"Monits/pmd","owner":{"login":"Monits","id":802619,"avatar_url":"https://avatars0.githubusercontent.com/u/802619?v=4","gravatar_id":"","url":"https://api.github.com/users/Monits","html_url":"https://github.com/Monits","followers_url":"https://api.github.com/users/Monits/followers","following_url":"https://api.github.com/users/Monits/following{/other_user}","gists_url":"https://api.github.com/users/Monits/gists{/gist_id}","starred_url":"https://api.github.com/users/Monits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monits/subscriptions","organizations_url":"https://api.github.com/users/Monits/orgs","repos_url":"https://api.github.com/users/Monits/repos","events_url":"https://api.github.com/users/Monits/events{/privacy}","received_events_url":"https://api.github.com/users/Monits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Monits/pmd","description":null,"fork":true,"url":"https://api.github.com/repos/Monits/pmd","forks_url":"https://api.github.com/repos/Monits/pmd/forks","keys_url":"https://api.github.com/repos/Monits/pmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Monits/pmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Monits/pmd/teams","hooks_url":"https://api.github.com/repos/Monits/pmd/hooks","issue_events_url":"https://api.github.com/repos/Monits/pmd/issues/events{/number}","events_url":"https://api.github.com/repos/Monits/pmd/events","assignees_url":"https://api.github.com/repos/Monits/pmd/assignees{/user}","branches_url":"https://api.github.com/repos/Monits/pmd/branches{/branch}","tags_url":"https://api.github.com/repos/Monits/pmd/tags","blobs_url":"https://api.github.com/repos/Monits/pmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Monits/pmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Monits/pmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Monits/pmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Monits/pmd/statuses/{sha}","languages_url":"https://api.github.com/repos/Monits/pmd/languages","stargazers_url":"https://api.github.com/repos/Monits/pmd/stargazers","contributors_url":"https://api.github.com/repos/Monits/pmd/contributors","subscribers_url":"https://api.github.com/repos/Monits/pmd/subscribers","subscription_url":"https://api.github.com/repos/Monits/pmd/subscription","commits_url":"https://api.github.com/repos/Monits/pmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Monits/pmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Monits/pmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Monits/pmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Monits/pmd/contents/{+path}","compare_url":"https://api.github.com/repos/Monits/pmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Monits/pmd/merges","archive_url":"https://api.github.com/repos/Monits/pmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Monits/pmd/downloads","issues_url":"https://api.github.com/repos/Monits/pmd/issues{/number}","pulls_url":"https://api.github.com/repos/Monits/pmd/pulls{/number}","milestones_url":"https://api.github.com/repos/Monits/pmd/milestones{/number}","notifications_url":"https://api.github.com/repos/Monits/pmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Monits/pmd/labels{/name}","releases_url":"https://api.github.com/repos/Monits/pmd/releases{/id}","deployments_url":"https://api.github.com/repos/Monits/pmd/deployments","created_at":"2015-07-21T12:40:19Z","updated_at":"2018-05-04T00:25:51Z","pushed_at":"2018-05-07T05:43:44Z","git_url":"git://github.com/Monits/pmd.git","ssh_url":"git@github.com:Monits/pmd.git","clone_url":"https://github.com/Monits/pmd.git","svn_url":"https://github.com/Monits/pmd","homepage":"https://pmd.github.io","size":243611,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"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":"pmd:master","ref":"master","sha":"dd2dcf6357103c526c238bd033fccb2c5368765b","user":{"login":"pmd","id":1958157,"avatar_url":"https://avatars0.githubusercontent.com/u/1958157?v=4","gravatar_id":"","url":"https://api.github.com/users/pmd","html_url":"https://github.com/pmd","followers_url":"https://api.github.com/users/pmd/followers","following_url":"https://api.github.com/users/pmd/following{/other_user}","gists_url":"https://api.github.com/users/pmd/gists{/gist_id}","starred_url":"https://api.github.com/users/pmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmd/subscriptions","organizations_url":"https://api.github.com/users/pmd/orgs","repos_url":"https://api.github.com/users/pmd/repos","events_url":"https://api.github.com/users/pmd/events{/privacy}","received_events_url":"https://api.github.com/users/pmd/received_events","type":"Organization","site_admin":false},"repo":{"id":4992906,"name":"pmd","full_name":"pmd/pmd","owner":{"login":"pmd","id":1958157,"avatar_url":"https://avatars0.githubusercontent.com/u/1958157?v=4","gravatar_id":"","url":"https://api.github.com/users/pmd","html_url":"https://github.com/pmd","followers_url":"https://api.github.com/users/pmd/followers","following_url":"https://api.github.com/users/pmd/following{/other_user}","gists_url":"https://api.github.com/users/pmd/gists{/gist_id}","starred_url":"https://api.github.com/users/pmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmd/subscriptions","organizations_url":"https://api.github.com/users/pmd/orgs","repos_url":"https://api.github.com/users/pmd/repos","events_url":"https://api.github.com/users/pmd/events{/privacy}","received_events_url":"https://api.github.com/users/pmd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pmd/pmd","description":"An extensible cross-language static code analyzer.","fork":false,"url":"https://api.github.com/repos/pmd/pmd","forks_url":"https://api.github.com/repos/pmd/pmd/forks","keys_url":"https://api.github.com/repos/pmd/pmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmd/pmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmd/pmd/teams","hooks_url":"https://api.github.com/repos/pmd/pmd/hooks","issue_events_url":"https://api.github.com/repos/pmd/pmd/issues/events{/number}","events_url":"https://api.github.com/repos/pmd/pmd/events","assignees_url":"https://api.github.com/repos/pmd/pmd/assignees{/user}","branches_url":"https://api.github.com/repos/pmd/pmd/branches{/branch}","tags_url":"https://api.github.com/repos/pmd/pmd/tags","blobs_url":"https://api.github.com/repos/pmd/pmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmd/pmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmd/pmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmd/pmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmd/pmd/statuses/{sha}","languages_url":"https://api.github.com/repos/pmd/pmd/languages","stargazers_url":"https://api.github.com/repos/pmd/pmd/stargazers","contributors_url":"https://api.github.com/repos/pmd/pmd/contributors","subscribers_url":"https://api.github.com/repos/pmd/pmd/subscribers","subscription_url":"https://api.github.com/repos/pmd/pmd/subscription","commits_url":"https://api.github.com/repos/pmd/pmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmd/pmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmd/pmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmd/pmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmd/pmd/contents/{+path}","compare_url":"https://api.github.com/repos/pmd/pmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmd/pmd/merges","archive_url":"https://api.github.com/repos/pmd/pmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmd/pmd/downloads","issues_url":"https://api.github.com/repos/pmd/pmd/issues{/number}","pulls_url":"https://api.github.com/repos/pmd/pmd/pulls{/number}","milestones_url":"https://api.github.com/repos/pmd/pmd/milestones{/number}","notifications_url":"https://api.github.com/repos/pmd/pmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmd/pmd/labels{/name}","releases_url":"https://api.github.com/repos/pmd/pmd/releases{/id}","deployments_url":"https://api.github.com/repos/pmd/pmd/deployments","created_at":"2012-07-11T18:03:00Z","updated_at":"2018-05-07T03:25:02Z","pushed_at":"2018-05-07T05:43:45Z","git_url":"git://github.com/pmd/pmd.git","ssh_url":"git@github.com:pmd/pmd.git","clone_url":"https://github.com/pmd/pmd.git","svn_url":"https://github.com/pmd/pmd","homepage":"https://pmd.github.io","size":243592,"stargazers_count":1553,"watchers_count":1553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":533,"mirror_url":null,"archived":false,"open_issues_count":152,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":533,"open_issues":152,"watchers":1553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pmd/pmd/pulls/1080"},"html":{"href":"https://github.com/pmd/pmd/pull/1080"},"issue":{"href":"https://api.github.com/repos/pmd/pmd/issues/1080"},"comments":{"href":"https://api.github.com/repos/pmd/pmd/issues/1080/comments"},"review_comments":{"href":"https://api.github.com/repos/pmd/pmd/pulls/1080/comments"},"review_comment":{"href":"https://api.github.com/repos/pmd/pmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pmd/pmd/pulls/1080/commits"},"statuses":{"href":"https://api.github.com/repos/pmd/pmd/statuses/af741fa790bc8d9a7f7f4d1558783a620ab6d8fb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"oowekyala"}}