{"action":"closed","number":459,"pull_request":{"url":"https://api.github.com/repos/apache/stratos/pulls/459","id":44428706,"html_url":"https://github.com/apache/stratos/pull/459","diff_url":"https://github.com/apache/stratos/pull/459.diff","patch_url":"https://github.com/apache/stratos/pull/459.patch","issue_url":"https://api.github.com/repos/apache/stratos/issues/459","number":459,"state":"closed","locked":false,"title":"Cleaning and Formatting","user":{"login":"Thanu","id":1333842,"avatar_url":"https://avatars.githubusercontent.com/u/1333842?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanu","html_url":"https://github.com/Thanu","followers_url":"https://api.github.com/users/Thanu/followers","following_url":"https://api.github.com/users/Thanu/following{/other_user}","gists_url":"https://api.github.com/users/Thanu/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanu/subscriptions","organizations_url":"https://api.github.com/users/Thanu/orgs","repos_url":"https://api.github.com/users/Thanu/repos","events_url":"https://api.github.com/users/Thanu/events{/privacy}","received_events_url":"https://api.github.com/users/Thanu/received_events","type":"User","site_admin":false},"body":"This P/R includes cleaning and formatting some classes in Cloud-Controller. Following changes are included:\r\n\r\n1. Fix for SonarQube Analysis issues:\r\nremove unused imports and variables - CloudControllerConfig\r\nmodifier public, abstract is redundant for interface methods - PartitionValidator\r\nremoving unused constants - CloudControllerConstants\r\nadding param tag - CloudControllerServiceUtil\r\nlocal variable isValid is redundant - CloudControllerServiceUtil\r\nlocal variable iaas is redundant - CloudControllerUtil\r\nfor loop replaceable with foreach loop - CloudControllerUtil\r\nremoving unused methods - CloudControllerUtil\r\nString concatenation as argument to StringBuilder.append() call - CloudControllerUtil\r\nremoving unused variable context - CloudControllerUtil\r\nremoving unused methods - CloudControllerUtil\r\n\r\n2. Formatting code.","created_at":"2015-09-08T12:58:34Z","updated_at":"2015-09-09T12:07:15Z","closed_at":"2015-09-09T12:07:15Z","merged_at":null,"merge_commit_sha":"d29219abf4075a9e0c87b98d584e2bfc77712adf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/stratos/pulls/459/commits","review_comments_url":"https://api.github.com/repos/apache/stratos/pulls/459/comments","review_comment_url":"https://api.github.com/repos/apache/stratos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/stratos/issues/459/comments","statuses_url":"https://api.github.com/repos/apache/stratos/statuses/f82415bde1cc26b4ffaa26c5f94dc7e93f54640e","head":{"label":"Thanu:refactoring-v4","ref":"refactoring-v4","sha":"f82415bde1cc26b4ffaa26c5f94dc7e93f54640e","user":{"login":"Thanu","id":1333842,"avatar_url":"https://avatars.githubusercontent.com/u/1333842?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanu","html_url":"https://github.com/Thanu","followers_url":"https://api.github.com/users/Thanu/followers","following_url":"https://api.github.com/users/Thanu/following{/other_user}","gists_url":"https://api.github.com/users/Thanu/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanu/subscriptions","organizations_url":"https://api.github.com/users/Thanu/orgs","repos_url":"https://api.github.com/users/Thanu/repos","events_url":"https://api.github.com/users/Thanu/events{/privacy}","received_events_url":"https://api.github.com/users/Thanu/received_events","type":"User","site_admin":false},"repo":{"id":39894248,"name":"stratos","full_name":"Thanu/stratos","owner":{"login":"Thanu","id":1333842,"avatar_url":"https://avatars.githubusercontent.com/u/1333842?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanu","html_url":"https://github.com/Thanu","followers_url":"https://api.github.com/users/Thanu/followers","following_url":"https://api.github.com/users/Thanu/following{/other_user}","gists_url":"https://api.github.com/users/Thanu/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanu/subscriptions","organizations_url":"https://api.github.com/users/Thanu/orgs","repos_url":"https://api.github.com/users/Thanu/repos","events_url":"https://api.github.com/users/Thanu/events{/privacy}","received_events_url":"https://api.github.com/users/Thanu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Thanu/stratos","description":"Mirror of Apache Stratos","fork":true,"url":"https://api.github.com/repos/Thanu/stratos","forks_url":"https://api.github.com/repos/Thanu/stratos/forks","keys_url":"https://api.github.com/repos/Thanu/stratos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thanu/stratos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thanu/stratos/teams","hooks_url":"https://api.github.com/repos/Thanu/stratos/hooks","issue_events_url":"https://api.github.com/repos/Thanu/stratos/issues/events{/number}","events_url":"https://api.github.com/repos/Thanu/stratos/events","assignees_url":"https://api.github.com/repos/Thanu/stratos/assignees{/user}","branches_url":"https://api.github.com/repos/Thanu/stratos/branches{/branch}","tags_url":"https://api.github.com/repos/Thanu/stratos/tags","blobs_url":"https://api.github.com/repos/Thanu/stratos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thanu/stratos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thanu/stratos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thanu/stratos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thanu/stratos/statuses/{sha}","languages_url":"https://api.github.com/repos/Thanu/stratos/languages","stargazers_url":"https://api.github.com/repos/Thanu/stratos/stargazers","contributors_url":"https://api.github.com/repos/Thanu/stratos/contributors","subscribers_url":"https://api.github.com/repos/Thanu/stratos/subscribers","subscription_url":"https://api.github.com/repos/Thanu/stratos/subscription","commits_url":"https://api.github.com/repos/Thanu/stratos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thanu/stratos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thanu/stratos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thanu/stratos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thanu/stratos/contents/{+path}","compare_url":"https://api.github.com/repos/Thanu/stratos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thanu/stratos/merges","archive_url":"https://api.github.com/repos/Thanu/stratos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thanu/stratos/downloads","issues_url":"https://api.github.com/repos/Thanu/stratos/issues{/number}","pulls_url":"https://api.github.com/repos/Thanu/stratos/pulls{/number}","milestones_url":"https://api.github.com/repos/Thanu/stratos/milestones{/number}","notifications_url":"https://api.github.com/repos/Thanu/stratos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thanu/stratos/labels{/name}","releases_url":"https://api.github.com/repos/Thanu/stratos/releases{/id}","created_at":"2015-07-29T13:16:37Z","updated_at":"2015-07-29T13:16:43Z","pushed_at":"2015-09-08T12:44:28Z","git_url":"git://github.com/Thanu/stratos.git","ssh_url":"git@github.com:Thanu/stratos.git","clone_url":"https://github.com/Thanu/stratos.git","svn_url":"https://github.com/Thanu/stratos","homepage":null,"size":62592,"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":"apache:master","ref":"master","sha":"f609666c3ff6ae32da1ae219480a096875d909bd","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20432793,"name":"stratos","full_name":"apache/stratos","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/stratos","description":"Mirror of Apache Stratos","fork":false,"url":"https://api.github.com/repos/apache/stratos","forks_url":"https://api.github.com/repos/apache/stratos/forks","keys_url":"https://api.github.com/repos/apache/stratos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/stratos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/stratos/teams","hooks_url":"https://api.github.com/repos/apache/stratos/hooks","issue_events_url":"https://api.github.com/repos/apache/stratos/issues/events{/number}","events_url":"https://api.github.com/repos/apache/stratos/events","assignees_url":"https://api.github.com/repos/apache/stratos/assignees{/user}","branches_url":"https://api.github.com/repos/apache/stratos/branches{/branch}","tags_url":"https://api.github.com/repos/apache/stratos/tags","blobs_url":"https://api.github.com/repos/apache/stratos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/stratos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/stratos/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/stratos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/stratos/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/stratos/languages","stargazers_url":"https://api.github.com/repos/apache/stratos/stargazers","contributors_url":"https://api.github.com/repos/apache/stratos/contributors","subscribers_url":"https://api.github.com/repos/apache/stratos/subscribers","subscription_url":"https://api.github.com/repos/apache/stratos/subscription","commits_url":"https://api.github.com/repos/apache/stratos/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/stratos/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/stratos/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/stratos/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/stratos/contents/{+path}","compare_url":"https://api.github.com/repos/apache/stratos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/stratos/merges","archive_url":"https://api.github.com/repos/apache/stratos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/stratos/downloads","issues_url":"https://api.github.com/repos/apache/stratos/issues{/number}","pulls_url":"https://api.github.com/repos/apache/stratos/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/stratos/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/stratos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/stratos/labels{/name}","releases_url":"https://api.github.com/repos/apache/stratos/releases{/id}","created_at":"2014-06-03T07:00:07Z","updated_at":"2015-09-08T10:11:23Z","pushed_at":"2015-09-09T12:07:14Z","git_url":"git://github.com/apache/stratos.git","ssh_url":"git@github.com:apache/stratos.git","clone_url":"https://github.com/apache/stratos.git","svn_url":"https://github.com/apache/stratos","homepage":null,"size":114925,"stargazers_count":95,"watchers_count":95,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":80,"mirror_url":"git://git.apache.org/stratos.git","open_issues_count":12,"forks":80,"open_issues":12,"watchers":95,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/stratos/pulls/459"},"html":{"href":"https://github.com/apache/stratos/pull/459"},"issue":{"href":"https://api.github.com/repos/apache/stratos/issues/459"},"comments":{"href":"https://api.github.com/repos/apache/stratos/issues/459/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/stratos/pulls/459/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/stratos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/stratos/pulls/459/commits"},"statuses":{"href":"https://api.github.com/repos/apache/stratos/statuses/f82415bde1cc26b4ffaa26c5f94dc7e93f54640e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":41,"deletions":203,"changed_files":7}}