{"action":"created","comment":{"url":"https://api.github.com/repos/argus-hongjie/sonar/pulls/comments/101544799","pull_request_review_id":22276369,"id":101544799,"diff_hunk":"@@ -0,0 +1,19 @@\n+\n+\n+public class badClassName {\n+\n+\tpublic static void main(String[] args) {\n+\t\t// TODO Auto-generated method stub\n+\n+\t}\n+\t\n+\tpublic void BadMethodName(){\n+\t\tSystem.out.println(\"asdfsa\");\n+\t\treturn;\n+\t}\n+\n+\tpublic void BadMethodName2(){\n+\t\tSystem.out.println(\"asdfsa\");","path":"dep/src/main/java/badClassName.java","position":16,"original_position":16,"commit_id":"f814c73d7738aa9d88aac390298cc7586ff9e8ae","original_commit_id":"f814c73d7738aa9d88aac390298cc7586ff9e8ae","user":{"login":"argus-hongjie","id":15378390,"avatar_url":"https://avatars.githubusercontent.com/u/15378390?v=3","gravatar_id":"","url":"https://api.github.com/users/argus-hongjie","html_url":"https://github.com/argus-hongjie","followers_url":"https://api.github.com/users/argus-hongjie/followers","following_url":"https://api.github.com/users/argus-hongjie/following{/other_user}","gists_url":"https://api.github.com/users/argus-hongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/argus-hongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argus-hongjie/subscriptions","organizations_url":"https://api.github.com/users/argus-hongjie/orgs","repos_url":"https://api.github.com/users/argus-hongjie/repos","events_url":"https://api.github.com/users/argus-hongjie/events{/privacy}","received_events_url":"https://api.github.com/users/argus-hongjie/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png 'Severity: MAJOR') Replace this usage of System.out or System.err by a logger. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.com/coding_rules#rule_key=squid%3AS106)\n","created_at":"2017-02-16T15:28:12Z","updated_at":"2017-02-16T15:28:12Z","html_url":"https://github.com/argus-hongjie/sonar/pull/2#discussion_r101544799","pull_request_url":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/argus-hongjie/sonar/pulls/comments/101544799"},"html":{"href":"https://github.com/argus-hongjie/sonar/pull/2#discussion_r101544799"},"pull_request":{"href":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2","id":106543552,"html_url":"https://github.com/argus-hongjie/sonar/pull/2","diff_url":"https://github.com/argus-hongjie/sonar/pull/2.diff","patch_url":"https://github.com/argus-hongjie/sonar/pull/2.patch","issue_url":"https://api.github.com/repos/argus-hongjie/sonar/issues/2","number":2,"state":"open","locked":false,"title":"asdf","user":{"login":"argus-hongjie","id":15378390,"avatar_url":"https://avatars.githubusercontent.com/u/15378390?v=3","gravatar_id":"","url":"https://api.github.com/users/argus-hongjie","html_url":"https://github.com/argus-hongjie","followers_url":"https://api.github.com/users/argus-hongjie/followers","following_url":"https://api.github.com/users/argus-hongjie/following{/other_user}","gists_url":"https://api.github.com/users/argus-hongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/argus-hongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argus-hongjie/subscriptions","organizations_url":"https://api.github.com/users/argus-hongjie/orgs","repos_url":"https://api.github.com/users/argus-hongjie/repos","events_url":"https://api.github.com/users/argus-hongjie/events{/privacy}","received_events_url":"https://api.github.com/users/argus-hongjie/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-16T15:04:40Z","updated_at":"2017-02-16T15:28:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa4b2713adadf94b4df9f30c6e54f46b1bf9e1b8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2/commits","review_comments_url":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2/comments","review_comment_url":"https://api.github.com/repos/argus-hongjie/sonar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/argus-hongjie/sonar/issues/2/comments","statuses_url":"https://api.github.com/repos/argus-hongjie/sonar/statuses/f814c73d7738aa9d88aac390298cc7586ff9e8ae","head":{"label":"argus-hongjie:pr2","ref":"pr2","sha":"f814c73d7738aa9d88aac390298cc7586ff9e8ae","user":{"login":"argus-hongjie","id":15378390,"avatar_url":"https://avatars.githubusercontent.com/u/15378390?v=3","gravatar_id":"","url":"https://api.github.com/users/argus-hongjie","html_url":"https://github.com/argus-hongjie","followers_url":"https://api.github.com/users/argus-hongjie/followers","following_url":"https://api.github.com/users/argus-hongjie/following{/other_user}","gists_url":"https://api.github.com/users/argus-hongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/argus-hongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argus-hongjie/subscriptions","organizations_url":"https://api.github.com/users/argus-hongjie/orgs","repos_url":"https://api.github.com/users/argus-hongjie/repos","events_url":"https://api.github.com/users/argus-hongjie/events{/privacy}","received_events_url":"https://api.github.com/users/argus-hongjie/received_events","type":"User","site_admin":false},"repo":{"id":82192139,"name":"sonar","full_name":"argus-hongjie/sonar","owner":{"login":"argus-hongjie","id":15378390,"avatar_url":"https://avatars.githubusercontent.com/u/15378390?v=3","gravatar_id":"","url":"https://api.github.com/users/argus-hongjie","html_url":"https://github.com/argus-hongjie","followers_url":"https://api.github.com/users/argus-hongjie/followers","following_url":"https://api.github.com/users/argus-hongjie/following{/other_user}","gists_url":"https://api.github.com/users/argus-hongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/argus-hongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argus-hongjie/subscriptions","organizations_url":"https://api.github.com/users/argus-hongjie/orgs","repos_url":"https://api.github.com/users/argus-hongjie/repos","events_url":"https://api.github.com/users/argus-hongjie/events{/privacy}","received_events_url":"https://api.github.com/users/argus-hongjie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/argus-hongjie/sonar","description":null,"fork":false,"url":"https://api.github.com/repos/argus-hongjie/sonar","forks_url":"https://api.github.com/repos/argus-hongjie/sonar/forks","keys_url":"https://api.github.com/repos/argus-hongjie/sonar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/argus-hongjie/sonar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/argus-hongjie/sonar/teams","hooks_url":"https://api.github.com/repos/argus-hongjie/sonar/hooks","issue_events_url":"https://api.github.com/repos/argus-hongjie/sonar/issues/events{/number}","events_url":"https://api.github.com/repos/argus-hongjie/sonar/events","assignees_url":"https://api.github.com/repos/argus-hongjie/sonar/assignees{/user}","branches_url":"https://api.github.com/repos/argus-hongjie/sonar/branches{/branch}","tags_url":"https://api.github.com/repos/argus-hongjie/sonar/tags","blobs_url":"https://api.github.com/repos/argus-hongjie/sonar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/argus-hongjie/sonar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/argus-hongjie/sonar/git/refs{/sha}","trees_url":"https://api.github.com/repos/argus-hongjie/sonar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/argus-hongjie/sonar/statuses/{sha}","languages_url":"https://api.github.com/repos/argus-hongjie/sonar/languages","stargazers_url":"https://api.github.com/repos/argus-hongjie/sonar/stargazers","contributors_url":"https://api.github.com/repos/argus-hongjie/sonar/contributors","subscribers_url":"https://api.github.com/repos/argus-hongjie/sonar/subscribers","subscription_url":"https://api.github.com/repos/argus-hongjie/sonar/subscription","commits_url":"https://api.github.com/repos/argus-hongjie/sonar/commits{/sha}","git_commits_url":"https://api.github.com/repos/argus-hongjie/sonar/git/commits{/sha}","comments_url":"https://api.github.com/repos/argus-hongjie/sonar/comments{/number}","issue_comment_url":"https://api.github.com/repos/argus-hongjie/sonar/issues/comments{/number}","contents_url":"https://api.github.com/repos/argus-hongjie/sonar/contents/{+path}","compare_url":"https://api.github.com/repos/argus-hongjie/sonar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/argus-hongjie/sonar/merges","archive_url":"https://api.github.com/repos/argus-hongjie/sonar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/argus-hongjie/sonar/downloads","issues_url":"https://api.github.com/repos/argus-hongjie/sonar/issues{/number}","pulls_url":"https://api.github.com/repos/argus-hongjie/sonar/pulls{/number}","milestones_url":"https://api.github.com/repos/argus-hongjie/sonar/milestones{/number}","notifications_url":"https://api.github.com/repos/argus-hongjie/sonar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/argus-hongjie/sonar/labels{/name}","releases_url":"https://api.github.com/repos/argus-hongjie/sonar/releases{/id}","deployments_url":"https://api.github.com/repos/argus-hongjie/sonar/deployments","created_at":"2017-02-16T14:56:41Z","updated_at":"2017-02-16T15:00:53Z","pushed_at":"2017-02-16T15:26:04Z","git_url":"git://github.com/argus-hongjie/sonar.git","ssh_url":"git@github.com:argus-hongjie/sonar.git","clone_url":"https://github.com/argus-hongjie/sonar.git","svn_url":"https://github.com/argus-hongjie/sonar","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"argus-hongjie:master","ref":"master","sha":"57a74c01332c1fc22f2358c5552f7c3594ed29c3","user":{"login":"argus-hongjie","id":15378390,"avatar_url":"https://avatars.githubusercontent.com/u/15378390?v=3","gravatar_id":"","url":"https://api.github.com/users/argus-hongjie","html_url":"https://github.com/argus-hongjie","followers_url":"https://api.github.com/users/argus-hongjie/followers","following_url":"https://api.github.com/users/argus-hongjie/following{/other_user}","gists_url":"https://api.github.com/users/argus-hongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/argus-hongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argus-hongjie/subscriptions","organizations_url":"https://api.github.com/users/argus-hongjie/orgs","repos_url":"https://api.github.com/users/argus-hongjie/repos","events_url":"https://api.github.com/users/argus-hongjie/events{/privacy}","received_events_url":"https://api.github.com/users/argus-hongjie/received_events","type":"User","site_admin":false},"repo":{"id":82192139,"name":"sonar","full_name":"argus-hongjie/sonar","owner":{"login":"argus-hongjie","id":15378390,"avatar_url":"https://avatars.githubusercontent.com/u/15378390?v=3","gravatar_id":"","url":"https://api.github.com/users/argus-hongjie","html_url":"https://github.com/argus-hongjie","followers_url":"https://api.github.com/users/argus-hongjie/followers","following_url":"https://api.github.com/users/argus-hongjie/following{/other_user}","gists_url":"https://api.github.com/users/argus-hongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/argus-hongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argus-hongjie/subscriptions","organizations_url":"https://api.github.com/users/argus-hongjie/orgs","repos_url":"https://api.github.com/users/argus-hongjie/repos","events_url":"https://api.github.com/users/argus-hongjie/events{/privacy}","received_events_url":"https://api.github.com/users/argus-hongjie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/argus-hongjie/sonar","description":null,"fork":false,"url":"https://api.github.com/repos/argus-hongjie/sonar","forks_url":"https://api.github.com/repos/argus-hongjie/sonar/forks","keys_url":"https://api.github.com/repos/argus-hongjie/sonar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/argus-hongjie/sonar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/argus-hongjie/sonar/teams","hooks_url":"https://api.github.com/repos/argus-hongjie/sonar/hooks","issue_events_url":"https://api.github.com/repos/argus-hongjie/sonar/issues/events{/number}","events_url":"https://api.github.com/repos/argus-hongjie/sonar/events","assignees_url":"https://api.github.com/repos/argus-hongjie/sonar/assignees{/user}","branches_url":"https://api.github.com/repos/argus-hongjie/sonar/branches{/branch}","tags_url":"https://api.github.com/repos/argus-hongjie/sonar/tags","blobs_url":"https://api.github.com/repos/argus-hongjie/sonar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/argus-hongjie/sonar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/argus-hongjie/sonar/git/refs{/sha}","trees_url":"https://api.github.com/repos/argus-hongjie/sonar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/argus-hongjie/sonar/statuses/{sha}","languages_url":"https://api.github.com/repos/argus-hongjie/sonar/languages","stargazers_url":"https://api.github.com/repos/argus-hongjie/sonar/stargazers","contributors_url":"https://api.github.com/repos/argus-hongjie/sonar/contributors","subscribers_url":"https://api.github.com/repos/argus-hongjie/sonar/subscribers","subscription_url":"https://api.github.com/repos/argus-hongjie/sonar/subscription","commits_url":"https://api.github.com/repos/argus-hongjie/sonar/commits{/sha}","git_commits_url":"https://api.github.com/repos/argus-hongjie/sonar/git/commits{/sha}","comments_url":"https://api.github.com/repos/argus-hongjie/sonar/comments{/number}","issue_comment_url":"https://api.github.com/repos/argus-hongjie/sonar/issues/comments{/number}","contents_url":"https://api.github.com/repos/argus-hongjie/sonar/contents/{+path}","compare_url":"https://api.github.com/repos/argus-hongjie/sonar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/argus-hongjie/sonar/merges","archive_url":"https://api.github.com/repos/argus-hongjie/sonar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/argus-hongjie/sonar/downloads","issues_url":"https://api.github.com/repos/argus-hongjie/sonar/issues{/number}","pulls_url":"https://api.github.com/repos/argus-hongjie/sonar/pulls{/number}","milestones_url":"https://api.github.com/repos/argus-hongjie/sonar/milestones{/number}","notifications_url":"https://api.github.com/repos/argus-hongjie/sonar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/argus-hongjie/sonar/labels{/name}","releases_url":"https://api.github.com/repos/argus-hongjie/sonar/releases{/id}","deployments_url":"https://api.github.com/repos/argus-hongjie/sonar/deployments","created_at":"2017-02-16T14:56:41Z","updated_at":"2017-02-16T15:00:53Z","pushed_at":"2017-02-16T15:26:04Z","git_url":"git://github.com/argus-hongjie/sonar.git","ssh_url":"git@github.com:argus-hongjie/sonar.git","clone_url":"https://github.com/argus-hongjie/sonar.git","svn_url":"https://github.com/argus-hongjie/sonar","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2"},"html":{"href":"https://github.com/argus-hongjie/sonar/pull/2"},"issue":{"href":"https://api.github.com/repos/argus-hongjie/sonar/issues/2"},"comments":{"href":"https://api.github.com/repos/argus-hongjie/sonar/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/argus-hongjie/sonar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/argus-hongjie/sonar/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/argus-hongjie/sonar/statuses/f814c73d7738aa9d88aac390298cc7586ff9e8ae"}}}}
{"actor":{"display_login":"argus-hongjie"}}