{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-ml/pulls/comments/49418646","id":49418646,"diff_hunk":"@@ -864,6 +909,13 @@ public String publishModel(int tenantId, String userName, long modelId, Format m\n                     throw new MLModelPublisherException(errorMsg, e);\n                 } catch (MLPmmlExportException e) {\n                     throw new MLPmmlExportException(\"PMML export not supported for model type\");\n+                } finally {\n+                    if (in != null) {\n+                        try {\n+                            in.close();\n+                        } catch (IOException ignore) {\n+                        }","path":"components/ml/org.wso2.carbon.ml.core/src/main/java/org/wso2/carbon/ml/core/impl/MLModelHandler.java","position":107,"original_position":107,"commit_id":"b6454eea1c6e946357718552985f3c223f122163","original_commit_id":"b6454eea1c6e946357718552985f3c223f122163","user":{"login":"fazlan-nazeem","id":13759167,"avatar_url":"https://avatars.githubusercontent.com/u/13759167?v=3","gravatar_id":"","url":"https://api.github.com/users/fazlan-nazeem","html_url":"https://github.com/fazlan-nazeem","followers_url":"https://api.github.com/users/fazlan-nazeem/followers","following_url":"https://api.github.com/users/fazlan-nazeem/following{/other_user}","gists_url":"https://api.github.com/users/fazlan-nazeem/gists{/gist_id}","starred_url":"https://api.github.com/users/fazlan-nazeem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fazlan-nazeem/subscriptions","organizations_url":"https://api.github.com/users/fazlan-nazeem/orgs","repos_url":"https://api.github.com/users/fazlan-nazeem/repos","events_url":"https://api.github.com/users/fazlan-nazeem/events{/privacy}","received_events_url":"https://api.github.com/users/fazlan-nazeem/received_events","type":"User","site_admin":false},"body":"logged ioExceptions without ignoring. Fixed in all places with PR https://github.com/wso2/carbon-ml/pull/202","created_at":"2016-01-12T06:09:50Z","updated_at":"2016-01-12T06:09:50Z","html_url":"https://github.com/wso2/carbon-ml/pull/200#discussion_r49418646","pull_request_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/200","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/comments/49418646"},"html":{"href":"https://github.com/wso2/carbon-ml/pull/200#discussion_r49418646"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/200"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-ml/pulls/200","id":55085026,"html_url":"https://github.com/wso2/carbon-ml/pull/200","diff_url":"https://github.com/wso2/carbon-ml/pull/200.diff","patch_url":"https://github.com/wso2/carbon-ml/pull/200.patch","issue_url":"https://api.github.com/repos/wso2/carbon-ml/issues/200","number":200,"state":"closed","locked":false,"title":"Formatting fixes and other code improvements","user":{"login":"fazlan-nazeem","id":13759167,"avatar_url":"https://avatars.githubusercontent.com/u/13759167?v=3","gravatar_id":"","url":"https://api.github.com/users/fazlan-nazeem","html_url":"https://github.com/fazlan-nazeem","followers_url":"https://api.github.com/users/fazlan-nazeem/followers","following_url":"https://api.github.com/users/fazlan-nazeem/following{/other_user}","gists_url":"https://api.github.com/users/fazlan-nazeem/gists{/gist_id}","starred_url":"https://api.github.com/users/fazlan-nazeem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fazlan-nazeem/subscriptions","organizations_url":"https://api.github.com/users/fazlan-nazeem/orgs","repos_url":"https://api.github.com/users/fazlan-nazeem/repos","events_url":"https://api.github.com/users/fazlan-nazeem/events{/privacy}","received_events_url":"https://api.github.com/users/fazlan-nazeem/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-05T12:16:30Z","updated_at":"2016-01-12T06:09:50Z","closed_at":"2016-01-05T13:08:45Z","merged_at":"2016-01-05T13:08:45Z","merge_commit_sha":"25083367c17fb1dba85549f6555739dcc87df682","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/200/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/200/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-ml/issues/200/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-ml/statuses/b6454eea1c6e946357718552985f3c223f122163","head":{"label":"fazlan-nazeem:master","ref":"master","sha":"b6454eea1c6e946357718552985f3c223f122163","user":{"login":"fazlan-nazeem","id":13759167,"avatar_url":"https://avatars.githubusercontent.com/u/13759167?v=3","gravatar_id":"","url":"https://api.github.com/users/fazlan-nazeem","html_url":"https://github.com/fazlan-nazeem","followers_url":"https://api.github.com/users/fazlan-nazeem/followers","following_url":"https://api.github.com/users/fazlan-nazeem/following{/other_user}","gists_url":"https://api.github.com/users/fazlan-nazeem/gists{/gist_id}","starred_url":"https://api.github.com/users/fazlan-nazeem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fazlan-nazeem/subscriptions","organizations_url":"https://api.github.com/users/fazlan-nazeem/orgs","repos_url":"https://api.github.com/users/fazlan-nazeem/repos","events_url":"https://api.github.com/users/fazlan-nazeem/events{/privacy}","received_events_url":"https://api.github.com/users/fazlan-nazeem/received_events","type":"User","site_admin":false},"repo":{"id":43862174,"name":"carbon-ml","full_name":"fazlan-nazeem/carbon-ml","owner":{"login":"fazlan-nazeem","id":13759167,"avatar_url":"https://avatars.githubusercontent.com/u/13759167?v=3","gravatar_id":"","url":"https://api.github.com/users/fazlan-nazeem","html_url":"https://github.com/fazlan-nazeem","followers_url":"https://api.github.com/users/fazlan-nazeem/followers","following_url":"https://api.github.com/users/fazlan-nazeem/following{/other_user}","gists_url":"https://api.github.com/users/fazlan-nazeem/gists{/gist_id}","starred_url":"https://api.github.com/users/fazlan-nazeem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fazlan-nazeem/subscriptions","organizations_url":"https://api.github.com/users/fazlan-nazeem/orgs","repos_url":"https://api.github.com/users/fazlan-nazeem/repos","events_url":"https://api.github.com/users/fazlan-nazeem/events{/privacy}","received_events_url":"https://api.github.com/users/fazlan-nazeem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fazlan-nazeem/carbon-ml","description":"","fork":true,"url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml","forks_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/forks","keys_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/teams","hooks_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/hooks","issue_events_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/issues/events{/number}","events_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/events","assignees_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/assignees{/user}","branches_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/branches{/branch}","tags_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/tags","blobs_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/git/refs{/sha}","trees_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/statuses/{sha}","languages_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/languages","stargazers_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/stargazers","contributors_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/contributors","subscribers_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/subscribers","subscription_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/subscription","commits_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/commits{/sha}","git_commits_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/git/commits{/sha}","comments_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/comments{/number}","issue_comment_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/issues/comments{/number}","contents_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/contents/{+path}","compare_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/merges","archive_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/downloads","issues_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/issues{/number}","pulls_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/pulls{/number}","milestones_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/milestones{/number}","notifications_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/labels{/name}","releases_url":"https://api.github.com/repos/fazlan-nazeem/carbon-ml/releases{/id}","created_at":"2015-10-08T04:08:55Z","updated_at":"2016-01-11T06:03:15Z","pushed_at":"2016-01-12T05:58:52Z","git_url":"git://github.com/fazlan-nazeem/carbon-ml.git","ssh_url":"git@github.com:fazlan-nazeem/carbon-ml.git","clone_url":"https://github.com/fazlan-nazeem/carbon-ml.git","svn_url":"https://github.com/fazlan-nazeem/carbon-ml","homepage":null,"size":9378,"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":"ac615d78c234137efd89db18275fd0ca916641af","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":35467512,"name":"carbon-ml","full_name":"wso2/carbon-ml","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-ml","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-ml","forks_url":"https://api.github.com/repos/wso2/carbon-ml/forks","keys_url":"https://api.github.com/repos/wso2/carbon-ml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-ml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-ml/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-ml/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-ml/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-ml/events","assignees_url":"https://api.github.com/repos/wso2/carbon-ml/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-ml/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-ml/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-ml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-ml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-ml/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-ml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-ml/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-ml/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-ml/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-ml/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-ml/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-ml/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-ml/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-ml/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-ml/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-ml/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-ml/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-ml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-ml/merges","archive_url":"https://api.github.com/repos/wso2/carbon-ml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-ml/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-ml/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-ml/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-ml/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-ml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-ml/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-ml/releases{/id}","created_at":"2015-05-12T04:50:29Z","updated_at":"2015-12-30T19:49:06Z","pushed_at":"2016-01-12T06:03:36Z","git_url":"git://github.com/wso2/carbon-ml.git","ssh_url":"git@github.com:wso2/carbon-ml.git","clone_url":"https://github.com/wso2/carbon-ml.git","svn_url":"https://github.com/wso2/carbon-ml","homepage":null,"size":11926,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":2,"forks":18,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/200"},"html":{"href":"https://github.com/wso2/carbon-ml/pull/200"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-ml/issues/200"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-ml/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-ml/statuses/b6454eea1c6e946357718552985f3c223f122163"}}}}