{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments/31400539","id":31400539,"diff_hunk":"@@ -114,6 +121,12 @@ public static void saveEndpointsFromWSDL(String wsdlPath, Resource wsdlResource,\n             log.error(msg, e);","path":"components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/utils/EndpointUtils.java","position":36,"original_position":36,"commit_id":"d7fa552f3b578c02d554612864d18703ced711f6","original_commit_id":"d7fa552f3b578c02d554612864d18703ced711f6","user":{"login":"shazni","id":5644096,"avatar_url":"https://avatars.githubusercontent.com/u/5644096?v=3","gravatar_id":"","url":"https://api.github.com/users/shazni","html_url":"https://github.com/shazni","followers_url":"https://api.github.com/users/shazni/followers","following_url":"https://api.github.com/users/shazni/following{/other_user}","gists_url":"https://api.github.com/users/shazni/gists{/gist_id}","starred_url":"https://api.github.com/users/shazni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shazni/subscriptions","organizations_url":"https://api.github.com/users/shazni/orgs","repos_url":"https://api.github.com/users/shazni/repos","events_url":"https://api.github.com/users/shazni/events{/privacy}","received_events_url":"https://api.github.com/users/shazni/received_events","type":"User","site_admin":false},"body":"Logging and throwing both done is unnecessary. I think just throwing the error with the message is sufficient.","created_at":"2015-06-01T04:49:36Z","updated_at":"2015-06-01T04:49:36Z","html_url":"https://github.com/wso2/carbon-registry/pull/46#discussion_r31400539","pull_request_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments/31400539"},"html":{"href":"https://github.com/wso2/carbon-registry/pull/46#discussion_r31400539"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-registry/pulls/46","id":31725390,"html_url":"https://github.com/wso2/carbon-registry/pull/46","diff_url":"https://github.com/wso2/carbon-registry/pull/46.diff","patch_url":"https://github.com/wso2/carbon-registry/pull/46.patch","issue_url":"https://api.github.com/repos/wso2/carbon-registry/issues/46","number":46,"state":"closed","locked":false,"title":"Correcting EndpointUtils to display dependent endpoints","user":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"body":"https://wso2.org/jira/browse/REGISTRY-2460","created_at":"2015-03-23T11:56:06Z","updated_at":"2015-06-01T04:49:36Z","closed_at":"2015-03-31T10:27:59Z","merged_at":"2015-03-31T10:27:59Z","merge_commit_sha":"607184a2230fbd9e00daf61995f9c522dd8968dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/46/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/46/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-registry/issues/46/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-registry/statuses/d7fa552f3b578c02d554612864d18703ced711f6","head":{"label":"thushara35:b6","ref":"b6","sha":"d7fa552f3b578c02d554612864d18703ced711f6","user":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"repo":{"id":25640476,"name":"carbon-registry","full_name":"thushara35/carbon-registry","owner":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thushara35/carbon-registry","description":"","fork":true,"url":"https://api.github.com/repos/thushara35/carbon-registry","forks_url":"https://api.github.com/repos/thushara35/carbon-registry/forks","keys_url":"https://api.github.com/repos/thushara35/carbon-registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thushara35/carbon-registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thushara35/carbon-registry/teams","hooks_url":"https://api.github.com/repos/thushara35/carbon-registry/hooks","issue_events_url":"https://api.github.com/repos/thushara35/carbon-registry/issues/events{/number}","events_url":"https://api.github.com/repos/thushara35/carbon-registry/events","assignees_url":"https://api.github.com/repos/thushara35/carbon-registry/assignees{/user}","branches_url":"https://api.github.com/repos/thushara35/carbon-registry/branches{/branch}","tags_url":"https://api.github.com/repos/thushara35/carbon-registry/tags","blobs_url":"https://api.github.com/repos/thushara35/carbon-registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thushara35/carbon-registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thushara35/carbon-registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/thushara35/carbon-registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thushara35/carbon-registry/statuses/{sha}","languages_url":"https://api.github.com/repos/thushara35/carbon-registry/languages","stargazers_url":"https://api.github.com/repos/thushara35/carbon-registry/stargazers","contributors_url":"https://api.github.com/repos/thushara35/carbon-registry/contributors","subscribers_url":"https://api.github.com/repos/thushara35/carbon-registry/subscribers","subscription_url":"https://api.github.com/repos/thushara35/carbon-registry/subscription","commits_url":"https://api.github.com/repos/thushara35/carbon-registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/thushara35/carbon-registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/thushara35/carbon-registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/thushara35/carbon-registry/issues/comments{/number}","contents_url":"https://api.github.com/repos/thushara35/carbon-registry/contents/{+path}","compare_url":"https://api.github.com/repos/thushara35/carbon-registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thushara35/carbon-registry/merges","archive_url":"https://api.github.com/repos/thushara35/carbon-registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thushara35/carbon-registry/downloads","issues_url":"https://api.github.com/repos/thushara35/carbon-registry/issues{/number}","pulls_url":"https://api.github.com/repos/thushara35/carbon-registry/pulls{/number}","milestones_url":"https://api.github.com/repos/thushara35/carbon-registry/milestones{/number}","notifications_url":"https://api.github.com/repos/thushara35/carbon-registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thushara35/carbon-registry/labels{/name}","releases_url":"https://api.github.com/repos/thushara35/carbon-registry/releases{/id}","created_at":"2014-10-23T14:13:45Z","updated_at":"2015-04-29T20:53:41Z","pushed_at":"2015-05-31T17:09:37Z","git_url":"git://github.com/thushara35/carbon-registry.git","ssh_url":"git@github.com:thushara35/carbon-registry.git","clone_url":"https://github.com/thushara35/carbon-registry.git","svn_url":"https://github.com/thushara35/carbon-registry","homepage":null,"size":33234,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"wso2:master","ref":"master","sha":"96fa4ef43b5cd8063c39d6581d55bb949f0b8036","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16100959,"name":"carbon-registry","full_name":"wso2/carbon-registry","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-registry","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-registry","forks_url":"https://api.github.com/repos/wso2/carbon-registry/forks","keys_url":"https://api.github.com/repos/wso2/carbon-registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-registry/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-registry/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-registry/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-registry/events","assignees_url":"https://api.github.com/repos/wso2/carbon-registry/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-registry/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-registry/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-registry/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-registry/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-registry/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-registry/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-registry/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-registry/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-registry/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-registry/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-registry/merges","archive_url":"https://api.github.com/repos/wso2/carbon-registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-registry/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-registry/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-registry/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-registry/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-registry/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-registry/releases{/id}","created_at":"2014-01-21T11:42:25Z","updated_at":"2015-05-08T12:32:03Z","pushed_at":"2015-05-31T17:10:06Z","git_url":"git://github.com/wso2/carbon-registry.git","ssh_url":"git@github.com:wso2/carbon-registry.git","clone_url":"https://github.com/wso2/carbon-registry.git","svn_url":"https://github.com/wso2/carbon-registry","homepage":null,"size":34511,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":8,"forks":48,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/46"},"html":{"href":"https://github.com/wso2/carbon-registry/pull/46"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-registry/issues/46"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-registry/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-registry/statuses/d7fa552f3b578c02d554612864d18703ced711f6"}}}}