{"action":"opened","number":244,"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/244","id":36503958,"html_url":"https://github.com/SonarSource/sonar-java/pull/244","diff_url":"https://github.com/SonarSource/sonar-java/pull/244.diff","patch_url":"https://github.com/SonarSource/sonar-java/pull/244.patch","issue_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/244","number":244,"state":"open","locked":false,"title":"SONARJAVA-1022 Rule: S2681 Multiline blocks should be enclosed in curly braces","user":{"login":"mpaladin","id":456050,"avatar_url":"https://avatars.githubusercontent.com/u/456050?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaladin","html_url":"https://github.com/mpaladin","followers_url":"https://api.github.com/users/mpaladin/followers","following_url":"https://api.github.com/users/mpaladin/following{/other_user}","gists_url":"https://api.github.com/users/mpaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaladin/subscriptions","organizations_url":"https://api.github.com/users/mpaladin/orgs","repos_url":"https://api.github.com/users/mpaladin/repos","events_url":"https://api.github.com/users/mpaladin/events{/privacy}","received_events_url":"https://api.github.com/users/mpaladin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-29T13:15:49Z","updated_at":"2015-05-29T13:15:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"mpaladin","id":456050,"avatar_url":"https://avatars.githubusercontent.com/u/456050?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaladin","html_url":"https://github.com/mpaladin","followers_url":"https://api.github.com/users/mpaladin/followers","following_url":"https://api.github.com/users/mpaladin/following{/other_user}","gists_url":"https://api.github.com/users/mpaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaladin/subscriptions","organizations_url":"https://api.github.com/users/mpaladin/orgs","repos_url":"https://api.github.com/users/mpaladin/repos","events_url":"https://api.github.com/users/mpaladin/events{/privacy}","received_events_url":"https://api.github.com/users/mpaladin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/244/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/244/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/244/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonar-java/statuses/5ef011975e05f0e42b459a46a8ed5a6d5d14eb2a","head":{"label":"mpaladin:SONARJAVA-1022","ref":"SONARJAVA-1022","sha":"5ef011975e05f0e42b459a46a8ed5a6d5d14eb2a","user":{"login":"mpaladin","id":456050,"avatar_url":"https://avatars.githubusercontent.com/u/456050?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaladin","html_url":"https://github.com/mpaladin","followers_url":"https://api.github.com/users/mpaladin/followers","following_url":"https://api.github.com/users/mpaladin/following{/other_user}","gists_url":"https://api.github.com/users/mpaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaladin/subscriptions","organizations_url":"https://api.github.com/users/mpaladin/orgs","repos_url":"https://api.github.com/users/mpaladin/repos","events_url":"https://api.github.com/users/mpaladin/events{/privacy}","received_events_url":"https://api.github.com/users/mpaladin/received_events","type":"User","site_admin":false},"repo":{"id":35816943,"name":"sonar-java","full_name":"mpaladin/sonar-java","owner":{"login":"mpaladin","id":456050,"avatar_url":"https://avatars.githubusercontent.com/u/456050?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaladin","html_url":"https://github.com/mpaladin","followers_url":"https://api.github.com/users/mpaladin/followers","following_url":"https://api.github.com/users/mpaladin/following{/other_user}","gists_url":"https://api.github.com/users/mpaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaladin/subscriptions","organizations_url":"https://api.github.com/users/mpaladin/orgs","repos_url":"https://api.github.com/users/mpaladin/repos","events_url":"https://api.github.com/users/mpaladin/events{/privacy}","received_events_url":"https://api.github.com/users/mpaladin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpaladin/sonar-java","description":"","fork":true,"url":"https://api.github.com/repos/mpaladin/sonar-java","forks_url":"https://api.github.com/repos/mpaladin/sonar-java/forks","keys_url":"https://api.github.com/repos/mpaladin/sonar-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpaladin/sonar-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpaladin/sonar-java/teams","hooks_url":"https://api.github.com/repos/mpaladin/sonar-java/hooks","issue_events_url":"https://api.github.com/repos/mpaladin/sonar-java/issues/events{/number}","events_url":"https://api.github.com/repos/mpaladin/sonar-java/events","assignees_url":"https://api.github.com/repos/mpaladin/sonar-java/assignees{/user}","branches_url":"https://api.github.com/repos/mpaladin/sonar-java/branches{/branch}","tags_url":"https://api.github.com/repos/mpaladin/sonar-java/tags","blobs_url":"https://api.github.com/repos/mpaladin/sonar-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpaladin/sonar-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpaladin/sonar-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpaladin/sonar-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpaladin/sonar-java/statuses/{sha}","languages_url":"https://api.github.com/repos/mpaladin/sonar-java/languages","stargazers_url":"https://api.github.com/repos/mpaladin/sonar-java/stargazers","contributors_url":"https://api.github.com/repos/mpaladin/sonar-java/contributors","subscribers_url":"https://api.github.com/repos/mpaladin/sonar-java/subscribers","subscription_url":"https://api.github.com/repos/mpaladin/sonar-java/subscription","commits_url":"https://api.github.com/repos/mpaladin/sonar-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpaladin/sonar-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpaladin/sonar-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpaladin/sonar-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpaladin/sonar-java/contents/{+path}","compare_url":"https://api.github.com/repos/mpaladin/sonar-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpaladin/sonar-java/merges","archive_url":"https://api.github.com/repos/mpaladin/sonar-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpaladin/sonar-java/downloads","issues_url":"https://api.github.com/repos/mpaladin/sonar-java/issues{/number}","pulls_url":"https://api.github.com/repos/mpaladin/sonar-java/pulls{/number}","milestones_url":"https://api.github.com/repos/mpaladin/sonar-java/milestones{/number}","notifications_url":"https://api.github.com/repos/mpaladin/sonar-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpaladin/sonar-java/labels{/name}","releases_url":"https://api.github.com/repos/mpaladin/sonar-java/releases{/id}","created_at":"2015-05-18T12:35:21Z","updated_at":"2015-05-18T12:35:25Z","pushed_at":"2015-05-29T13:15:10Z","git_url":"git://github.com/mpaladin/sonar-java.git","ssh_url":"git@github.com:mpaladin/sonar-java.git","clone_url":"https://github.com/mpaladin/sonar-java.git","svn_url":"https://github.com/mpaladin/sonar-java","homepage":"","size":11557,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"SonarSource:master","ref":"master","sha":"3c6a8c6e2bc09548f55b7308bfea39292e078451","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":5674787,"name":"sonar-java","full_name":"SonarSource/sonar-java","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-java","description":"","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-java","forks_url":"https://api.github.com/repos/SonarSource/sonar-java/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-java/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-java/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-java/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-java/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-java/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-java/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-java/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-java/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-java/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-java/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-java/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-java/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-java/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-java/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-java/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-java/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-java/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-java/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-java/releases{/id}","created_at":"2012-09-04T15:53:13Z","updated_at":"2015-05-26T14:44:29Z","pushed_at":"2015-05-29T12:39:29Z","git_url":"git://github.com/SonarSource/sonar-java.git","ssh_url":"git@github.com:SonarSource/sonar-java.git","clone_url":"https://github.com/SonarSource/sonar-java.git","svn_url":"https://github.com/SonarSource/sonar-java","homepage":"","size":35044,"stargazers_count":42,"watchers_count":42,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":80,"mirror_url":null,"open_issues_count":7,"forks":80,"open_issues":7,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/244"},"html":{"href":"https://github.com/SonarSource/sonar-java/pull/244"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonar-java/issues/244"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonar-java/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/244/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonar-java/statuses/5ef011975e05f0e42b459a46a8ed5a6d5d14eb2a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":229,"deletions":1,"changed_files":6}}