{"action":"created","comment":{"url":"https://api.github.com/repos/apache/ignite/pulls/comments/236627406","pull_request_review_id":178737278,"id":236627406,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjYyNzQwNg==","diff_hunk":"@@ -39,4 +39,8 @@\n     public default String toString(boolean pretty) {\n         return getClass().getSimpleName();\n     }\n+\n+    static <T, V> Model<T, V> constantModel(V v) {","path":"modules/ml/src/main/java/org/apache/ignite/ml/Model.java","position":null,"original_position":5,"commit_id":"7d3219affe0db8fcfb845edbd4af8a11e22f8cfc","original_commit_id":"0093271b3609eca9f214d79acad4a7c3fee293e4","user":{"login":"dmitrievanthony","id":1028969,"node_id":"MDQ6VXNlcjEwMjg5Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1028969?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitrievanthony","html_url":"https://github.com/dmitrievanthony","followers_url":"https://api.github.com/users/dmitrievanthony/followers","following_url":"https://api.github.com/users/dmitrievanthony/following{/other_user}","gists_url":"https://api.github.com/users/dmitrievanthony/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrievanthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrievanthony/subscriptions","organizations_url":"https://api.github.com/users/dmitrievanthony/orgs","repos_url":"https://api.github.com/users/dmitrievanthony/repos","events_url":"https://api.github.com/users/dmitrievanthony/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrievanthony/received_events","type":"User","site_admin":false},"body":"I see that it's used only once. Generally speaking it's not a great idea to make a lot of \"standard\" util code here, especially if it's used very rare.","created_at":"2018-11-27T11:43:01Z","updated_at":"2018-11-27T11:43:01Z","html_url":"https://github.com/apache/ignite/pull/5484#discussion_r236627406","pull_request_url":"https://api.github.com/repos/apache/ignite/pulls/5484","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/ignite/pulls/comments/236627406"},"html":{"href":"https://github.com/apache/ignite/pull/5484#discussion_r236627406"},"pull_request":{"href":"https://api.github.com/repos/apache/ignite/pulls/5484"}},"in_reply_to_id":235810777},"pull_request":{"url":"https://api.github.com/repos/apache/ignite/pulls/5484","id":233028129,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMDI4MTI5","html_url":"https://github.com/apache/ignite/pull/5484","diff_url":"https://github.com/apache/ignite/pull/5484.diff","patch_url":"https://github.com/apache/ignite/pull/5484.patch","issue_url":"https://api.github.com/repos/apache/ignite/issues/5484","number":5484,"state":"open","locked":false,"title":"IGNITE-10272: Inject learning environment into scope of dataset compute task.","user":{"login":"artemmalykh","id":26772992,"node_id":"MDQ6VXNlcjI2NzcyOTky","avatar_url":"https://avatars2.githubusercontent.com/u/26772992?v=4","gravatar_id":"","url":"https://api.github.com/users/artemmalykh","html_url":"https://github.com/artemmalykh","followers_url":"https://api.github.com/users/artemmalykh/followers","following_url":"https://api.github.com/users/artemmalykh/following{/other_user}","gists_url":"https://api.github.com/users/artemmalykh/gists{/gist_id}","starred_url":"https://api.github.com/users/artemmalykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemmalykh/subscriptions","organizations_url":"https://api.github.com/users/artemmalykh/orgs","repos_url":"https://api.github.com/users/artemmalykh/repos","events_url":"https://api.github.com/users/artemmalykh/events{/privacy}","received_events_url":"https://api.github.com/users/artemmalykh/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-22T16:12:43Z","updated_at":"2018-11-27T11:43:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0be3bfe12db8f855286c50e0b2a68e1c3a9af838","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/ignite/pulls/5484/commits","review_comments_url":"https://api.github.com/repos/apache/ignite/pulls/5484/comments","review_comment_url":"https://api.github.com/repos/apache/ignite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/ignite/issues/5484/comments","statuses_url":"https://api.github.com/repos/apache/ignite/statuses/7d3219affe0db8fcfb845edbd4af8a11e22f8cfc","head":{"label":"gridgain:ignite-10272","ref":"ignite-10272","sha":"7d3219affe0db8fcfb845edbd4af8a11e22f8cfc","user":{"login":"gridgain","id":803592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwMzU5Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/803592?v=4","gravatar_id":"","url":"https://api.github.com/users/gridgain","html_url":"https://github.com/gridgain","followers_url":"https://api.github.com/users/gridgain/followers","following_url":"https://api.github.com/users/gridgain/following{/other_user}","gists_url":"https://api.github.com/users/gridgain/gists{/gist_id}","starred_url":"https://api.github.com/users/gridgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gridgain/subscriptions","organizations_url":"https://api.github.com/users/gridgain/orgs","repos_url":"https://api.github.com/users/gridgain/repos","events_url":"https://api.github.com/users/gridgain/events{/privacy}","received_events_url":"https://api.github.com/users/gridgain/received_events","type":"Organization","site_admin":false},"repo":{"id":32432793,"node_id":"MDEwOlJlcG9zaXRvcnkzMjQzMjc5Mw==","name":"apache-ignite","full_name":"gridgain/apache-ignite","private":false,"owner":{"login":"gridgain","id":803592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwMzU5Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/803592?v=4","gravatar_id":"","url":"https://api.github.com/users/gridgain","html_url":"https://github.com/gridgain","followers_url":"https://api.github.com/users/gridgain/followers","following_url":"https://api.github.com/users/gridgain/following{/other_user}","gists_url":"https://api.github.com/users/gridgain/gists{/gist_id}","starred_url":"https://api.github.com/users/gridgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gridgain/subscriptions","organizations_url":"https://api.github.com/users/gridgain/orgs","repos_url":"https://api.github.com/users/gridgain/repos","events_url":"https://api.github.com/users/gridgain/events{/privacy}","received_events_url":"https://api.github.com/users/gridgain/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gridgain/apache-ignite","description":"Mirror of Apache Ignite","fork":true,"url":"https://api.github.com/repos/gridgain/apache-ignite","forks_url":"https://api.github.com/repos/gridgain/apache-ignite/forks","keys_url":"https://api.github.com/repos/gridgain/apache-ignite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gridgain/apache-ignite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gridgain/apache-ignite/teams","hooks_url":"https://api.github.com/repos/gridgain/apache-ignite/hooks","issue_events_url":"https://api.github.com/repos/gridgain/apache-ignite/issues/events{/number}","events_url":"https://api.github.com/repos/gridgain/apache-ignite/events","assignees_url":"https://api.github.com/repos/gridgain/apache-ignite/assignees{/user}","branches_url":"https://api.github.com/repos/gridgain/apache-ignite/branches{/branch}","tags_url":"https://api.github.com/repos/gridgain/apache-ignite/tags","blobs_url":"https://api.github.com/repos/gridgain/apache-ignite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gridgain/apache-ignite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gridgain/apache-ignite/git/refs{/sha}","trees_url":"https://api.github.com/repos/gridgain/apache-ignite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gridgain/apache-ignite/statuses/{sha}","languages_url":"https://api.github.com/repos/gridgain/apache-ignite/languages","stargazers_url":"https://api.github.com/repos/gridgain/apache-ignite/stargazers","contributors_url":"https://api.github.com/repos/gridgain/apache-ignite/contributors","subscribers_url":"https://api.github.com/repos/gridgain/apache-ignite/subscribers","subscription_url":"https://api.github.com/repos/gridgain/apache-ignite/subscription","commits_url":"https://api.github.com/repos/gridgain/apache-ignite/commits{/sha}","git_commits_url":"https://api.github.com/repos/gridgain/apache-ignite/git/commits{/sha}","comments_url":"https://api.github.com/repos/gridgain/apache-ignite/comments{/number}","issue_comment_url":"https://api.github.com/repos/gridgain/apache-ignite/issues/comments{/number}","contents_url":"https://api.github.com/repos/gridgain/apache-ignite/contents/{+path}","compare_url":"https://api.github.com/repos/gridgain/apache-ignite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gridgain/apache-ignite/merges","archive_url":"https://api.github.com/repos/gridgain/apache-ignite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gridgain/apache-ignite/downloads","issues_url":"https://api.github.com/repos/gridgain/apache-ignite/issues{/number}","pulls_url":"https://api.github.com/repos/gridgain/apache-ignite/pulls{/number}","milestones_url":"https://api.github.com/repos/gridgain/apache-ignite/milestones{/number}","notifications_url":"https://api.github.com/repos/gridgain/apache-ignite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gridgain/apache-ignite/labels{/name}","releases_url":"https://api.github.com/repos/gridgain/apache-ignite/releases{/id}","deployments_url":"https://api.github.com/repos/gridgain/apache-ignite/deployments","created_at":"2015-03-18T02:19:44Z","updated_at":"2018-10-23T14:17:55Z","pushed_at":"2018-11-27T11:40:06Z","git_url":"git://github.com/gridgain/apache-ignite.git","ssh_url":"git@github.com:gridgain/apache-ignite.git","clone_url":"https://github.com/gridgain/apache-ignite.git","svn_url":"https://github.com/gridgain/apache-ignite","homepage":"","size":418737,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":18,"watchers":20,"default_branch":"sprint-2"}},"base":{"label":"apache:master","ref":"master","sha":"b3a96454221d2e98acf0ebb9660f921b135ac338","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":31006158,"node_id":"MDEwOlJlcG9zaXRvcnkzMTAwNjE1OA==","name":"ignite","full_name":"apache/ignite","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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},"html_url":"https://github.com/apache/ignite","description":"Mirror of Apache Ignite","fork":false,"url":"https://api.github.com/repos/apache/ignite","forks_url":"https://api.github.com/repos/apache/ignite/forks","keys_url":"https://api.github.com/repos/apache/ignite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/ignite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/ignite/teams","hooks_url":"https://api.github.com/repos/apache/ignite/hooks","issue_events_url":"https://api.github.com/repos/apache/ignite/issues/events{/number}","events_url":"https://api.github.com/repos/apache/ignite/events","assignees_url":"https://api.github.com/repos/apache/ignite/assignees{/user}","branches_url":"https://api.github.com/repos/apache/ignite/branches{/branch}","tags_url":"https://api.github.com/repos/apache/ignite/tags","blobs_url":"https://api.github.com/repos/apache/ignite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/ignite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/ignite/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/ignite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/ignite/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/ignite/languages","stargazers_url":"https://api.github.com/repos/apache/ignite/stargazers","contributors_url":"https://api.github.com/repos/apache/ignite/contributors","subscribers_url":"https://api.github.com/repos/apache/ignite/subscribers","subscription_url":"https://api.github.com/repos/apache/ignite/subscription","commits_url":"https://api.github.com/repos/apache/ignite/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/ignite/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/ignite/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/ignite/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/ignite/contents/{+path}","compare_url":"https://api.github.com/repos/apache/ignite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/ignite/merges","archive_url":"https://api.github.com/repos/apache/ignite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/ignite/downloads","issues_url":"https://api.github.com/repos/apache/ignite/issues{/number}","pulls_url":"https://api.github.com/repos/apache/ignite/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/ignite/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/ignite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/ignite/labels{/name}","releases_url":"https://api.github.com/repos/apache/ignite/releases{/id}","deployments_url":"https://api.github.com/repos/apache/ignite/deployments","created_at":"2015-02-19T08:00:05Z","updated_at":"2018-11-27T11:09:40Z","pushed_at":"2018-11-27T11:40:09Z","git_url":"git://github.com/apache/ignite.git","ssh_url":"git@github.com:apache/ignite.git","clone_url":"https://github.com/apache/ignite.git","svn_url":"https://github.com/apache/ignite","homepage":"","size":316861,"stargazers_count":2105,"watchers_count":2105,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1101,"mirror_url":null,"archived":false,"open_issues_count":1421,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1101,"open_issues":1421,"watchers":2105,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/ignite/pulls/5484"},"html":{"href":"https://github.com/apache/ignite/pull/5484"},"issue":{"href":"https://api.github.com/repos/apache/ignite/issues/5484"},"comments":{"href":"https://api.github.com/repos/apache/ignite/issues/5484/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/ignite/pulls/5484/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/ignite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/ignite/pulls/5484/commits"},"statuses":{"href":"https://api.github.com/repos/apache/ignite/statuses/7d3219affe0db8fcfb845edbd4af8a11e22f8cfc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dmitrievanthony"}}