{"action":"created","comment":{"url":"https://api.github.com/repos/java8-course/streams/pulls/comments/81125636","pull_request_review_id":2127906,"id":81125636,"diff_hunk":"@@ -74,7 +74,10 @@ public void employersStuffLists() {\n     @Test\r\n     public void indexByFirstEmployer() {\r\n         Map<String, List<Person>> employeesIndex = getEmployees().stream()\r\n-                .map(e -> new PersonEmployerPair(e.getPerson(), e.getJobHistory().get(0).getEmployer()))\r\n+                .map(e -> e.getJobHistory().stream().findFirst()\r","path":"src/test/java/part1/exercise/StreamsExercise2.java","position":null,"original_position":5,"commit_id":"901fa36e3a89e3b0a489cceacc8296fac1bf50d7","original_commit_id":"40403c848430660e0f3c69671b9fb7f9e224f819","user":{"login":"Saver12","id":16125287,"avatar_url":"https://avatars.githubusercontent.com/u/16125287?v=3","gravatar_id":"","url":"https://api.github.com/users/Saver12","html_url":"https://github.com/Saver12","followers_url":"https://api.github.com/users/Saver12/followers","following_url":"https://api.github.com/users/Saver12/following{/other_user}","gists_url":"https://api.github.com/users/Saver12/gists{/gist_id}","starred_url":"https://api.github.com/users/Saver12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saver12/subscriptions","organizations_url":"https://api.github.com/users/Saver12/orgs","repos_url":"https://api.github.com/users/Saver12/repos","events_url":"https://api.github.com/users/Saver12/events{/privacy}","received_events_url":"https://api.github.com/users/Saver12/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-09-29T12:37:14Z","updated_at":"2016-09-29T12:37:14Z","html_url":"https://github.com/java8-course/streams/pull/1#discussion_r81125636","pull_request_url":"https://api.github.com/repos/java8-course/streams/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/java8-course/streams/pulls/comments/81125636"},"html":{"href":"https://github.com/java8-course/streams/pull/1#discussion_r81125636"},"pull_request":{"href":"https://api.github.com/repos/java8-course/streams/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/java8-course/streams/pulls/1","id":86969057,"html_url":"https://github.com/java8-course/streams/pull/1","diff_url":"https://github.com/java8-course/streams/pull/1.diff","patch_url":"https://github.com/java8-course/streams/pull/1.patch","issue_url":"https://api.github.com/repos/java8-course/streams/issues/1","number":1,"state":"open","locked":false,"title":"HW: StreamsExercise1 & StreamsExercise2","user":{"login":"Saver12","id":16125287,"avatar_url":"https://avatars.githubusercontent.com/u/16125287?v=3","gravatar_id":"","url":"https://api.github.com/users/Saver12","html_url":"https://github.com/Saver12","followers_url":"https://api.github.com/users/Saver12/followers","following_url":"https://api.github.com/users/Saver12/following{/other_user}","gists_url":"https://api.github.com/users/Saver12/gists{/gist_id}","starred_url":"https://api.github.com/users/Saver12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saver12/subscriptions","organizations_url":"https://api.github.com/users/Saver12/orgs","repos_url":"https://api.github.com/users/Saver12/repos","events_url":"https://api.github.com/users/Saver12/events{/privacy}","received_events_url":"https://api.github.com/users/Saver12/received_events","type":"User","site_admin":false},"body":"sergei_ermushin@epam.com","created_at":"2016-09-27T16:51:40Z","updated_at":"2016-09-29T12:37:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f2ba4af63bba3c8fc7699383d193b749c953d58","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/java8-course/streams/pulls/1/commits","review_comments_url":"https://api.github.com/repos/java8-course/streams/pulls/1/comments","review_comment_url":"https://api.github.com/repos/java8-course/streams/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java8-course/streams/issues/1/comments","statuses_url":"https://api.github.com/repos/java8-course/streams/statuses/901fa36e3a89e3b0a489cceacc8296fac1bf50d7","head":{"label":"Saver12:master","ref":"master","sha":"901fa36e3a89e3b0a489cceacc8296fac1bf50d7","user":{"login":"Saver12","id":16125287,"avatar_url":"https://avatars.githubusercontent.com/u/16125287?v=3","gravatar_id":"","url":"https://api.github.com/users/Saver12","html_url":"https://github.com/Saver12","followers_url":"https://api.github.com/users/Saver12/followers","following_url":"https://api.github.com/users/Saver12/following{/other_user}","gists_url":"https://api.github.com/users/Saver12/gists{/gist_id}","starred_url":"https://api.github.com/users/Saver12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saver12/subscriptions","organizations_url":"https://api.github.com/users/Saver12/orgs","repos_url":"https://api.github.com/users/Saver12/repos","events_url":"https://api.github.com/users/Saver12/events{/privacy}","received_events_url":"https://api.github.com/users/Saver12/received_events","type":"User","site_admin":false},"repo":{"id":69357402,"name":"streams","full_name":"Saver12/streams","owner":{"login":"Saver12","id":16125287,"avatar_url":"https://avatars.githubusercontent.com/u/16125287?v=3","gravatar_id":"","url":"https://api.github.com/users/Saver12","html_url":"https://github.com/Saver12","followers_url":"https://api.github.com/users/Saver12/followers","following_url":"https://api.github.com/users/Saver12/following{/other_user}","gists_url":"https://api.github.com/users/Saver12/gists{/gist_id}","starred_url":"https://api.github.com/users/Saver12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saver12/subscriptions","organizations_url":"https://api.github.com/users/Saver12/orgs","repos_url":"https://api.github.com/users/Saver12/repos","events_url":"https://api.github.com/users/Saver12/events{/privacy}","received_events_url":"https://api.github.com/users/Saver12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Saver12/streams","description":null,"fork":true,"url":"https://api.github.com/repos/Saver12/streams","forks_url":"https://api.github.com/repos/Saver12/streams/forks","keys_url":"https://api.github.com/repos/Saver12/streams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Saver12/streams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Saver12/streams/teams","hooks_url":"https://api.github.com/repos/Saver12/streams/hooks","issue_events_url":"https://api.github.com/repos/Saver12/streams/issues/events{/number}","events_url":"https://api.github.com/repos/Saver12/streams/events","assignees_url":"https://api.github.com/repos/Saver12/streams/assignees{/user}","branches_url":"https://api.github.com/repos/Saver12/streams/branches{/branch}","tags_url":"https://api.github.com/repos/Saver12/streams/tags","blobs_url":"https://api.github.com/repos/Saver12/streams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Saver12/streams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Saver12/streams/git/refs{/sha}","trees_url":"https://api.github.com/repos/Saver12/streams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Saver12/streams/statuses/{sha}","languages_url":"https://api.github.com/repos/Saver12/streams/languages","stargazers_url":"https://api.github.com/repos/Saver12/streams/stargazers","contributors_url":"https://api.github.com/repos/Saver12/streams/contributors","subscribers_url":"https://api.github.com/repos/Saver12/streams/subscribers","subscription_url":"https://api.github.com/repos/Saver12/streams/subscription","commits_url":"https://api.github.com/repos/Saver12/streams/commits{/sha}","git_commits_url":"https://api.github.com/repos/Saver12/streams/git/commits{/sha}","comments_url":"https://api.github.com/repos/Saver12/streams/comments{/number}","issue_comment_url":"https://api.github.com/repos/Saver12/streams/issues/comments{/number}","contents_url":"https://api.github.com/repos/Saver12/streams/contents/{+path}","compare_url":"https://api.github.com/repos/Saver12/streams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Saver12/streams/merges","archive_url":"https://api.github.com/repos/Saver12/streams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Saver12/streams/downloads","issues_url":"https://api.github.com/repos/Saver12/streams/issues{/number}","pulls_url":"https://api.github.com/repos/Saver12/streams/pulls{/number}","milestones_url":"https://api.github.com/repos/Saver12/streams/milestones{/number}","notifications_url":"https://api.github.com/repos/Saver12/streams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Saver12/streams/labels{/name}","releases_url":"https://api.github.com/repos/Saver12/streams/releases{/id}","deployments_url":"https://api.github.com/repos/Saver12/streams/deployments","created_at":"2016-09-27T13:05:43Z","updated_at":"2016-09-27T13:05:44Z","pushed_at":"2016-09-29T12:34:57Z","git_url":"git://github.com/Saver12/streams.git","ssh_url":"git@github.com:Saver12/streams.git","clone_url":"https://github.com/Saver12/streams.git","svn_url":"https://github.com/Saver12/streams","homepage":null,"size":22,"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":"a8081284a8cf090455c124cbef40e2f75c389944","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":69353661,"name":"streams","full_name":"java8-course/streams","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/streams","description":null,"fork":false,"url":"https://api.github.com/repos/java8-course/streams","forks_url":"https://api.github.com/repos/java8-course/streams/forks","keys_url":"https://api.github.com/repos/java8-course/streams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java8-course/streams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java8-course/streams/teams","hooks_url":"https://api.github.com/repos/java8-course/streams/hooks","issue_events_url":"https://api.github.com/repos/java8-course/streams/issues/events{/number}","events_url":"https://api.github.com/repos/java8-course/streams/events","assignees_url":"https://api.github.com/repos/java8-course/streams/assignees{/user}","branches_url":"https://api.github.com/repos/java8-course/streams/branches{/branch}","tags_url":"https://api.github.com/repos/java8-course/streams/tags","blobs_url":"https://api.github.com/repos/java8-course/streams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java8-course/streams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java8-course/streams/git/refs{/sha}","trees_url":"https://api.github.com/repos/java8-course/streams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java8-course/streams/statuses/{sha}","languages_url":"https://api.github.com/repos/java8-course/streams/languages","stargazers_url":"https://api.github.com/repos/java8-course/streams/stargazers","contributors_url":"https://api.github.com/repos/java8-course/streams/contributors","subscribers_url":"https://api.github.com/repos/java8-course/streams/subscribers","subscription_url":"https://api.github.com/repos/java8-course/streams/subscription","commits_url":"https://api.github.com/repos/java8-course/streams/commits{/sha}","git_commits_url":"https://api.github.com/repos/java8-course/streams/git/commits{/sha}","comments_url":"https://api.github.com/repos/java8-course/streams/comments{/number}","issue_comment_url":"https://api.github.com/repos/java8-course/streams/issues/comments{/number}","contents_url":"https://api.github.com/repos/java8-course/streams/contents/{+path}","compare_url":"https://api.github.com/repos/java8-course/streams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java8-course/streams/merges","archive_url":"https://api.github.com/repos/java8-course/streams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java8-course/streams/downloads","issues_url":"https://api.github.com/repos/java8-course/streams/issues{/number}","pulls_url":"https://api.github.com/repos/java8-course/streams/pulls{/number}","milestones_url":"https://api.github.com/repos/java8-course/streams/milestones{/number}","notifications_url":"https://api.github.com/repos/java8-course/streams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java8-course/streams/labels{/name}","releases_url":"https://api.github.com/repos/java8-course/streams/releases{/id}","deployments_url":"https://api.github.com/repos/java8-course/streams/deployments","created_at":"2016-09-27T12:20:43Z","updated_at":"2016-09-27T12:24:54Z","pushed_at":"2016-09-29T12:34:57Z","git_url":"git://github.com/java8-course/streams.git","ssh_url":"git@github.com:java8-course/streams.git","clone_url":"https://github.com/java8-course/streams.git","svn_url":"https://github.com/java8-course/streams","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java8-course/streams/pulls/1"},"html":{"href":"https://github.com/java8-course/streams/pull/1"},"issue":{"href":"https://api.github.com/repos/java8-course/streams/issues/1"},"comments":{"href":"https://api.github.com/repos/java8-course/streams/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/java8-course/streams/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/java8-course/streams/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java8-course/streams/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/java8-course/streams/statuses/901fa36e3a89e3b0a489cceacc8296fac1bf50d7"}}}}
{"actor":{"display_login":"Saver12"}}