{"action":"created","comment":{"url":"https://api.github.com/repos/java8-course/spliterator/pulls/comments/95995606","pull_request_review_id":16568702,"id":95995606,"diff_hunk":"@@ -28,7 +28,7 @@ public int characteristics() {\n \r\n     @Override\r\n     public Comparator<? super IndexedDoublePair> getComparator() {\r\n-        return (pair1,pair2) -> inner.getComparator().compare(pair1.getValue(),pair2.getValue());\r\n+        return Comparator.comparing(IndexedDoublePair::getValue,inner.getComparator());\r","path":"src/main/java/spliterators/part2/exercise/ZipWithIndexDoubleSpliterator.java","position":null,"original_position":5,"commit_id":"04d47e01f61320d6f6dc853149d7fed3c77e8788","original_commit_id":"04d47e01f61320d6f6dc853149d7fed3c77e8788","user":{"login":"senia-psm","id":1751325,"avatar_url":"https://avatars.githubusercontent.com/u/1751325?v=3","gravatar_id":"","url":"https://api.github.com/users/senia-psm","html_url":"https://github.com/senia-psm","followers_url":"https://api.github.com/users/senia-psm/followers","following_url":"https://api.github.com/users/senia-psm/following{/other_user}","gists_url":"https://api.github.com/users/senia-psm/gists{/gist_id}","starred_url":"https://api.github.com/users/senia-psm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senia-psm/subscriptions","organizations_url":"https://api.github.com/users/senia-psm/orgs","repos_url":"https://api.github.com/users/senia-psm/repos","events_url":"https://api.github.com/users/senia-psm/events{/privacy}","received_events_url":"https://api.github.com/users/senia-psm/received_events","type":"User","site_admin":false},"body":"Check if `inner.getComparator` is `null`","created_at":"2017-01-13T13:35:22Z","updated_at":"2017-01-13T13:35:22Z","html_url":"https://github.com/java8-course/spliterator/pull/17#discussion_r95995606","pull_request_url":"https://api.github.com/repos/java8-course/spliterator/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/java8-course/spliterator/pulls/comments/95995606"},"html":{"href":"https://github.com/java8-course/spliterator/pull/17#discussion_r95995606"},"pull_request":{"href":"https://api.github.com/repos/java8-course/spliterator/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/java8-course/spliterator/pulls/17","id":101365406,"html_url":"https://github.com/java8-course/spliterator/pull/17","diff_url":"https://github.com/java8-course/spliterator/pull/17.diff","patch_url":"https://github.com/java8-course/spliterator/pull/17.patch","issue_url":"https://api.github.com/repos/java8-course/spliterator/issues/17","number":17,"state":"open","locked":false,"title":"HW #2","user":{"login":"MaxElkin","id":14318292,"avatar_url":"https://avatars.githubusercontent.com/u/14318292?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxElkin","html_url":"https://github.com/MaxElkin","followers_url":"https://api.github.com/users/MaxElkin/followers","following_url":"https://api.github.com/users/MaxElkin/following{/other_user}","gists_url":"https://api.github.com/users/MaxElkin/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxElkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxElkin/subscriptions","organizations_url":"https://api.github.com/users/MaxElkin/orgs","repos_url":"https://api.github.com/users/MaxElkin/repos","events_url":"https://api.github.com/users/MaxElkin/events{/privacy}","received_events_url":"https://api.github.com/users/MaxElkin/received_events","type":"User","site_admin":false},"body":"ZipWithIndexSpliterator\r\n--------------\r\nМаксим Елькин","created_at":"2017-01-12T23:57:03Z","updated_at":"2017-01-13T13:35:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b246034505b2121b692ec12959099bc35c825e34","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/java8-course/spliterator/pulls/17/commits","review_comments_url":"https://api.github.com/repos/java8-course/spliterator/pulls/17/comments","review_comment_url":"https://api.github.com/repos/java8-course/spliterator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java8-course/spliterator/issues/17/comments","statuses_url":"https://api.github.com/repos/java8-course/spliterator/statuses/04d47e01f61320d6f6dc853149d7fed3c77e8788","head":{"label":"MaxElkin:hw#2","ref":"hw#2","sha":"04d47e01f61320d6f6dc853149d7fed3c77e8788","user":{"login":"MaxElkin","id":14318292,"avatar_url":"https://avatars.githubusercontent.com/u/14318292?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxElkin","html_url":"https://github.com/MaxElkin","followers_url":"https://api.github.com/users/MaxElkin/followers","following_url":"https://api.github.com/users/MaxElkin/following{/other_user}","gists_url":"https://api.github.com/users/MaxElkin/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxElkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxElkin/subscriptions","organizations_url":"https://api.github.com/users/MaxElkin/orgs","repos_url":"https://api.github.com/users/MaxElkin/repos","events_url":"https://api.github.com/users/MaxElkin/events{/privacy}","received_events_url":"https://api.github.com/users/MaxElkin/received_events","type":"User","site_admin":false},"repo":{"id":78640747,"name":"spliterator","full_name":"MaxElkin/spliterator","owner":{"login":"MaxElkin","id":14318292,"avatar_url":"https://avatars.githubusercontent.com/u/14318292?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxElkin","html_url":"https://github.com/MaxElkin","followers_url":"https://api.github.com/users/MaxElkin/followers","following_url":"https://api.github.com/users/MaxElkin/following{/other_user}","gists_url":"https://api.github.com/users/MaxElkin/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxElkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxElkin/subscriptions","organizations_url":"https://api.github.com/users/MaxElkin/orgs","repos_url":"https://api.github.com/users/MaxElkin/repos","events_url":"https://api.github.com/users/MaxElkin/events{/privacy}","received_events_url":"https://api.github.com/users/MaxElkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaxElkin/spliterator","description":null,"fork":true,"url":"https://api.github.com/repos/MaxElkin/spliterator","forks_url":"https://api.github.com/repos/MaxElkin/spliterator/forks","keys_url":"https://api.github.com/repos/MaxElkin/spliterator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaxElkin/spliterator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaxElkin/spliterator/teams","hooks_url":"https://api.github.com/repos/MaxElkin/spliterator/hooks","issue_events_url":"https://api.github.com/repos/MaxElkin/spliterator/issues/events{/number}","events_url":"https://api.github.com/repos/MaxElkin/spliterator/events","assignees_url":"https://api.github.com/repos/MaxElkin/spliterator/assignees{/user}","branches_url":"https://api.github.com/repos/MaxElkin/spliterator/branches{/branch}","tags_url":"https://api.github.com/repos/MaxElkin/spliterator/tags","blobs_url":"https://api.github.com/repos/MaxElkin/spliterator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaxElkin/spliterator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaxElkin/spliterator/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaxElkin/spliterator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaxElkin/spliterator/statuses/{sha}","languages_url":"https://api.github.com/repos/MaxElkin/spliterator/languages","stargazers_url":"https://api.github.com/repos/MaxElkin/spliterator/stargazers","contributors_url":"https://api.github.com/repos/MaxElkin/spliterator/contributors","subscribers_url":"https://api.github.com/repos/MaxElkin/spliterator/subscribers","subscription_url":"https://api.github.com/repos/MaxElkin/spliterator/subscription","commits_url":"https://api.github.com/repos/MaxElkin/spliterator/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaxElkin/spliterator/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaxElkin/spliterator/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaxElkin/spliterator/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaxElkin/spliterator/contents/{+path}","compare_url":"https://api.github.com/repos/MaxElkin/spliterator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaxElkin/spliterator/merges","archive_url":"https://api.github.com/repos/MaxElkin/spliterator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaxElkin/spliterator/downloads","issues_url":"https://api.github.com/repos/MaxElkin/spliterator/issues{/number}","pulls_url":"https://api.github.com/repos/MaxElkin/spliterator/pulls{/number}","milestones_url":"https://api.github.com/repos/MaxElkin/spliterator/milestones{/number}","notifications_url":"https://api.github.com/repos/MaxElkin/spliterator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaxElkin/spliterator/labels{/name}","releases_url":"https://api.github.com/repos/MaxElkin/spliterator/releases{/id}","deployments_url":"https://api.github.com/repos/MaxElkin/spliterator/deployments","created_at":"2017-01-11T13:17:56Z","updated_at":"2017-01-11T13:17:58Z","pushed_at":"2017-01-13T13:17:08Z","git_url":"git://github.com/MaxElkin/spliterator.git","ssh_url":"git@github.com:MaxElkin/spliterator.git","clone_url":"https://github.com/MaxElkin/spliterator.git","svn_url":"https://github.com/MaxElkin/spliterator","homepage":null,"size":15,"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":"java8-course:master","ref":"master","sha":"83d26f613009a3a06d99ccffc085ef1ea035a908","user":{"login":"java8-course","id":22320891,"avatar_url":"https://avatars.githubusercontent.com/u/22320891?v=3","gravatar_id":"","url":"https://api.github.com/users/java8-course","html_url":"https://github.com/java8-course","followers_url":"https://api.github.com/users/java8-course/followers","following_url":"https://api.github.com/users/java8-course/following{/other_user}","gists_url":"https://api.github.com/users/java8-course/gists{/gist_id}","starred_url":"https://api.github.com/users/java8-course/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java8-course/subscriptions","organizations_url":"https://api.github.com/users/java8-course/orgs","repos_url":"https://api.github.com/users/java8-course/repos","events_url":"https://api.github.com/users/java8-course/events{/privacy}","received_events_url":"https://api.github.com/users/java8-course/received_events","type":"Organization","site_admin":false},"repo":{"id":70057562,"name":"spliterator","full_name":"java8-course/spliterator","owner":{"login":"java8-course","id":22320891,"avatar_url":"https://avatars.githubusercontent.com/u/22320891?v=3","gravatar_id":"","url":"https://api.github.com/users/java8-course","html_url":"https://github.com/java8-course","followers_url":"https://api.github.com/users/java8-course/followers","following_url":"https://api.github.com/users/java8-course/following{/other_user}","gists_url":"https://api.github.com/users/java8-course/gists{/gist_id}","starred_url":"https://api.github.com/users/java8-course/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java8-course/subscriptions","organizations_url":"https://api.github.com/users/java8-course/orgs","repos_url":"https://api.github.com/users/java8-course/repos","events_url":"https://api.github.com/users/java8-course/events{/privacy}","received_events_url":"https://api.github.com/users/java8-course/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java8-course/spliterator","description":null,"fork":false,"url":"https://api.github.com/repos/java8-course/spliterator","forks_url":"https://api.github.com/repos/java8-course/spliterator/forks","keys_url":"https://api.github.com/repos/java8-course/spliterator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java8-course/spliterator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java8-course/spliterator/teams","hooks_url":"https://api.github.com/repos/java8-course/spliterator/hooks","issue_events_url":"https://api.github.com/repos/java8-course/spliterator/issues/events{/number}","events_url":"https://api.github.com/repos/java8-course/spliterator/events","assignees_url":"https://api.github.com/repos/java8-course/spliterator/assignees{/user}","branches_url":"https://api.github.com/repos/java8-course/spliterator/branches{/branch}","tags_url":"https://api.github.com/repos/java8-course/spliterator/tags","blobs_url":"https://api.github.com/repos/java8-course/spliterator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java8-course/spliterator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java8-course/spliterator/git/refs{/sha}","trees_url":"https://api.github.com/repos/java8-course/spliterator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java8-course/spliterator/statuses/{sha}","languages_url":"https://api.github.com/repos/java8-course/spliterator/languages","stargazers_url":"https://api.github.com/repos/java8-course/spliterator/stargazers","contributors_url":"https://api.github.com/repos/java8-course/spliterator/contributors","subscribers_url":"https://api.github.com/repos/java8-course/spliterator/subscribers","subscription_url":"https://api.github.com/repos/java8-course/spliterator/subscription","commits_url":"https://api.github.com/repos/java8-course/spliterator/commits{/sha}","git_commits_url":"https://api.github.com/repos/java8-course/spliterator/git/commits{/sha}","comments_url":"https://api.github.com/repos/java8-course/spliterator/comments{/number}","issue_comment_url":"https://api.github.com/repos/java8-course/spliterator/issues/comments{/number}","contents_url":"https://api.github.com/repos/java8-course/spliterator/contents/{+path}","compare_url":"https://api.github.com/repos/java8-course/spliterator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java8-course/spliterator/merges","archive_url":"https://api.github.com/repos/java8-course/spliterator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java8-course/spliterator/downloads","issues_url":"https://api.github.com/repos/java8-course/spliterator/issues{/number}","pulls_url":"https://api.github.com/repos/java8-course/spliterator/pulls{/number}","milestones_url":"https://api.github.com/repos/java8-course/spliterator/milestones{/number}","notifications_url":"https://api.github.com/repos/java8-course/spliterator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java8-course/spliterator/labels{/name}","releases_url":"https://api.github.com/repos/java8-course/spliterator/releases{/id}","deployments_url":"https://api.github.com/repos/java8-course/spliterator/deployments","created_at":"2016-10-05T12:21:02Z","updated_at":"2016-10-05T12:43:26Z","pushed_at":"2017-01-13T13:17:10Z","git_url":"git://github.com/java8-course/spliterator.git","ssh_url":"git@github.com:java8-course/spliterator.git","clone_url":"https://github.com/java8-course/spliterator.git","svn_url":"https://github.com/java8-course/spliterator","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":19,"forks":16,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java8-course/spliterator/pulls/17"},"html":{"href":"https://github.com/java8-course/spliterator/pull/17"},"issue":{"href":"https://api.github.com/repos/java8-course/spliterator/issues/17"},"comments":{"href":"https://api.github.com/repos/java8-course/spliterator/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/java8-course/spliterator/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/java8-course/spliterator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java8-course/spliterator/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/java8-course/spliterator/statuses/04d47e01f61320d6f6dc853149d7fed3c77e8788"}}}}
{"actor":{"display_login":"senia-psm"}}