{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-ml/pulls/comments/35760720","id":35760720,"diff_hunk":"@@ -870,6 +870,13 @@ public void updateModelError(long modelId, String error) throws DatabaseHandlerE\n         // split categoricalFeatureListString String into a String array\n         String[] featureList = featureListString.split(\",\");\n \n+        // Check whether features exists\n+        for(int i=0; i<featureList.length; i++){","path":"components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/internal/MLDatabaseService.java","position":5,"original_position":5,"commit_id":"5e2db646d6f91bfa74f5f9d56b45d7a7f2304d29","original_commit_id":"5e2db646d6f91bfa74f5f9d56b45d7a7f2304d29","user":{"login":"nirmal070125","id":413016,"avatar_url":"https://avatars.githubusercontent.com/u/413016?v=3","gravatar_id":"","url":"https://api.github.com/users/nirmal070125","html_url":"https://github.com/nirmal070125","followers_url":"https://api.github.com/users/nirmal070125/followers","following_url":"https://api.github.com/users/nirmal070125/following{/other_user}","gists_url":"https://api.github.com/users/nirmal070125/gists{/gist_id}","starred_url":"https://api.github.com/users/nirmal070125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirmal070125/subscriptions","organizations_url":"https://api.github.com/users/nirmal070125/orgs","repos_url":"https://api.github.com/users/nirmal070125/repos","events_url":"https://api.github.com/users/nirmal070125/events{/privacy}","received_events_url":"https://api.github.com/users/nirmal070125/received_events","type":"User","site_admin":false},"body":"Use \"for (String feature : featureList) \" since you don't need an index.","created_at":"2015-07-29T13:55:26Z","updated_at":"2015-07-29T13:55:26Z","html_url":"https://github.com/wso2/carbon-ml/pull/56#discussion_r35760720","pull_request_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/comments/35760720"},"html":{"href":"https://github.com/wso2/carbon-ml/pull/56#discussion_r35760720"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-ml/pulls/56","id":41115254,"html_url":"https://github.com/wso2/carbon-ml/pull/56","diff_url":"https://github.com/wso2/carbon-ml/pull/56.diff","patch_url":"https://github.com/wso2/carbon-ml/pull/56.patch","issue_url":"https://api.github.com/repos/wso2/carbon-ml/issues/56","number":56,"state":"open","locked":false,"title":"Added feature name validatation in get chart points","user":{"login":"maheshakya","id":1351499,"avatar_url":"https://avatars.githubusercontent.com/u/1351499?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshakya","html_url":"https://github.com/maheshakya","followers_url":"https://api.github.com/users/maheshakya/followers","following_url":"https://api.github.com/users/maheshakya/following{/other_user}","gists_url":"https://api.github.com/users/maheshakya/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshakya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshakya/subscriptions","organizations_url":"https://api.github.com/users/maheshakya/orgs","repos_url":"https://api.github.com/users/maheshakya/repos","events_url":"https://api.github.com/users/maheshakya/events{/privacy}","received_events_url":"https://api.github.com/users/maheshakya/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-29T12:04:22Z","updated_at":"2015-07-29T13:55:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2101f5ee6af939263aae3e833e8d70b8244cc9e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/56/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-ml/pulls/56/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/56/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-ml/statuses/5e2db646d6f91bfa74f5f9d56b45d7a7f2304d29","head":{"label":"maheshakya:check_feature_values_in_chart_samples","ref":"check_feature_values_in_chart_samples","sha":"5e2db646d6f91bfa74f5f9d56b45d7a7f2304d29","user":{"login":"maheshakya","id":1351499,"avatar_url":"https://avatars.githubusercontent.com/u/1351499?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshakya","html_url":"https://github.com/maheshakya","followers_url":"https://api.github.com/users/maheshakya/followers","following_url":"https://api.github.com/users/maheshakya/following{/other_user}","gists_url":"https://api.github.com/users/maheshakya/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshakya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshakya/subscriptions","organizations_url":"https://api.github.com/users/maheshakya/orgs","repos_url":"https://api.github.com/users/maheshakya/repos","events_url":"https://api.github.com/users/maheshakya/events{/privacy}","received_events_url":"https://api.github.com/users/maheshakya/received_events","type":"User","site_admin":false},"repo":{"id":35798410,"name":"carbon-ml","full_name":"maheshakya/carbon-ml","owner":{"login":"maheshakya","id":1351499,"avatar_url":"https://avatars.githubusercontent.com/u/1351499?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshakya","html_url":"https://github.com/maheshakya","followers_url":"https://api.github.com/users/maheshakya/followers","following_url":"https://api.github.com/users/maheshakya/following{/other_user}","gists_url":"https://api.github.com/users/maheshakya/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshakya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshakya/subscriptions","organizations_url":"https://api.github.com/users/maheshakya/orgs","repos_url":"https://api.github.com/users/maheshakya/repos","events_url":"https://api.github.com/users/maheshakya/events{/privacy}","received_events_url":"https://api.github.com/users/maheshakya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maheshakya/carbon-ml","description":"","fork":true,"url":"https://api.github.com/repos/maheshakya/carbon-ml","forks_url":"https://api.github.com/repos/maheshakya/carbon-ml/forks","keys_url":"https://api.github.com/repos/maheshakya/carbon-ml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maheshakya/carbon-ml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maheshakya/carbon-ml/teams","hooks_url":"https://api.github.com/repos/maheshakya/carbon-ml/hooks","issue_events_url":"https://api.github.com/repos/maheshakya/carbon-ml/issues/events{/number}","events_url":"https://api.github.com/repos/maheshakya/carbon-ml/events","assignees_url":"https://api.github.com/repos/maheshakya/carbon-ml/assignees{/user}","branches_url":"https://api.github.com/repos/maheshakya/carbon-ml/branches{/branch}","tags_url":"https://api.github.com/repos/maheshakya/carbon-ml/tags","blobs_url":"https://api.github.com/repos/maheshakya/carbon-ml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maheshakya/carbon-ml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maheshakya/carbon-ml/git/refs{/sha}","trees_url":"https://api.github.com/repos/maheshakya/carbon-ml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maheshakya/carbon-ml/statuses/{sha}","languages_url":"https://api.github.com/repos/maheshakya/carbon-ml/languages","stargazers_url":"https://api.github.com/repos/maheshakya/carbon-ml/stargazers","contributors_url":"https://api.github.com/repos/maheshakya/carbon-ml/contributors","subscribers_url":"https://api.github.com/repos/maheshakya/carbon-ml/subscribers","subscription_url":"https://api.github.com/repos/maheshakya/carbon-ml/subscription","commits_url":"https://api.github.com/repos/maheshakya/carbon-ml/commits{/sha}","git_commits_url":"https://api.github.com/repos/maheshakya/carbon-ml/git/commits{/sha}","comments_url":"https://api.github.com/repos/maheshakya/carbon-ml/comments{/number}","issue_comment_url":"https://api.github.com/repos/maheshakya/carbon-ml/issues/comments{/number}","contents_url":"https://api.github.com/repos/maheshakya/carbon-ml/contents/{+path}","compare_url":"https://api.github.com/repos/maheshakya/carbon-ml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maheshakya/carbon-ml/merges","archive_url":"https://api.github.com/repos/maheshakya/carbon-ml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maheshakya/carbon-ml/downloads","issues_url":"https://api.github.com/repos/maheshakya/carbon-ml/issues{/number}","pulls_url":"https://api.github.com/repos/maheshakya/carbon-ml/pulls{/number}","milestones_url":"https://api.github.com/repos/maheshakya/carbon-ml/milestones{/number}","notifications_url":"https://api.github.com/repos/maheshakya/carbon-ml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maheshakya/carbon-ml/labels{/name}","releases_url":"https://api.github.com/repos/maheshakya/carbon-ml/releases{/id}","created_at":"2015-05-18T05:24:12Z","updated_at":"2015-05-18T05:24:13Z","pushed_at":"2015-07-29T12:03:50Z","git_url":"git://github.com/maheshakya/carbon-ml.git","ssh_url":"git@github.com:maheshakya/carbon-ml.git","clone_url":"https://github.com/maheshakya/carbon-ml.git","svn_url":"https://github.com/maheshakya/carbon-ml","homepage":null,"size":7264,"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":"fb5eea4b2b96f0b27fad2f39f8dcb2b0b562600f","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-07-02T11:45:08Z","pushed_at":"2015-07-29T12:04:22Z","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":8308,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/56"},"html":{"href":"https://github.com/wso2/carbon-ml/pull/56"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-ml/issues/56"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-ml/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-ml/pulls/56/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/56/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-ml/statuses/5e2db646d6f91bfa74f5f9d56b45d7a7f2304d29"}}}}