{"action":"created","comment":{"url":"https://api.github.com/repos/java8-course/lambda/pulls/comments/125525640","pull_request_review_id":47922089,"id":125525640,"diff_hunk":"@@ -21,7 +24,12 @@ public void sortPersonsByAge() {\n                 new Person(\"name 2\", \"lastName 1\", 30)\r\n         };\r\n \r\n-        // TODO use Arrays.sort\r\n+        Arrays.sort(persons, new Comparator<Person>() {\r\n+            @Override\r\n+            public int compare(Person o1, Person o2) {\r\n+                return o2.getFirstName().compareTo(o1.getFirstName());\r","path":"src/test/java/lambda/part1/exercise/Lambdas01Exercise.java","position":17,"original_position":17,"commit_id":"2f7e14cc683dddd6f100501e89e816bb60253429","original_commit_id":"2f7e14cc683dddd6f100501e89e816bb60253429","user":{"login":"senia-psm","id":1751325,"avatar_url":"https://avatars2.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":"See method name. `sortPersonsByAge`.","created_at":"2017-07-04T20:09:24Z","updated_at":"2017-07-04T20:10:07Z","html_url":"https://github.com/java8-course/lambda/pull/149#discussion_r125525640","pull_request_url":"https://api.github.com/repos/java8-course/lambda/pulls/149","_links":{"self":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/comments/125525640"},"html":{"href":"https://github.com/java8-course/lambda/pull/149#discussion_r125525640"},"pull_request":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/149"}}},"pull_request":{"url":"https://api.github.com/repos/java8-course/lambda/pulls/149","id":128678941,"html_url":"https://github.com/java8-course/lambda/pull/149","diff_url":"https://github.com/java8-course/lambda/pull/149.diff","patch_url":"https://github.com/java8-course/lambda/pull/149.patch","issue_url":"https://api.github.com/repos/java8-course/lambda/issues/149","number":149,"state":"open","locked":false,"title":"Nazarov_Anton/lesson-1","user":{"login":"MortyMerr","id":25364980,"avatar_url":"https://avatars3.githubusercontent.com/u/25364980?v=3","gravatar_id":"","url":"https://api.github.com/users/MortyMerr","html_url":"https://github.com/MortyMerr","followers_url":"https://api.github.com/users/MortyMerr/followers","following_url":"https://api.github.com/users/MortyMerr/following{/other_user}","gists_url":"https://api.github.com/users/MortyMerr/gists{/gist_id}","starred_url":"https://api.github.com/users/MortyMerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MortyMerr/subscriptions","organizations_url":"https://api.github.com/users/MortyMerr/orgs","repos_url":"https://api.github.com/users/MortyMerr/repos","events_url":"https://api.github.com/users/MortyMerr/events{/privacy}","received_events_url":"https://api.github.com/users/MortyMerr/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-03T18:44:19Z","updated_at":"2017-07-04T20:10:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"792ac48ed2f36785e40b8099f2044e0f9d35ebbf","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/java8-course/lambda/pulls/149/commits","review_comments_url":"https://api.github.com/repos/java8-course/lambda/pulls/149/comments","review_comment_url":"https://api.github.com/repos/java8-course/lambda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java8-course/lambda/issues/149/comments","statuses_url":"https://api.github.com/repos/java8-course/lambda/statuses/2f7e14cc683dddd6f100501e89e816bb60253429","head":{"label":"MortyMerr:First-lab","ref":"First-lab","sha":"2f7e14cc683dddd6f100501e89e816bb60253429","user":{"login":"MortyMerr","id":25364980,"avatar_url":"https://avatars3.githubusercontent.com/u/25364980?v=3","gravatar_id":"","url":"https://api.github.com/users/MortyMerr","html_url":"https://github.com/MortyMerr","followers_url":"https://api.github.com/users/MortyMerr/followers","following_url":"https://api.github.com/users/MortyMerr/following{/other_user}","gists_url":"https://api.github.com/users/MortyMerr/gists{/gist_id}","starred_url":"https://api.github.com/users/MortyMerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MortyMerr/subscriptions","organizations_url":"https://api.github.com/users/MortyMerr/orgs","repos_url":"https://api.github.com/users/MortyMerr/repos","events_url":"https://api.github.com/users/MortyMerr/events{/privacy}","received_events_url":"https://api.github.com/users/MortyMerr/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"java8-course:master","ref":"master","sha":"aa9077008dc4669381bc95d2e6a09786034d617d","user":{"login":"java8-course","id":22320891,"avatar_url":"https://avatars3.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":68708557,"name":"lambda","full_name":"java8-course/lambda","owner":{"login":"java8-course","id":22320891,"avatar_url":"https://avatars3.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/lambda","description":null,"fork":false,"url":"https://api.github.com/repos/java8-course/lambda","forks_url":"https://api.github.com/repos/java8-course/lambda/forks","keys_url":"https://api.github.com/repos/java8-course/lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java8-course/lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java8-course/lambda/teams","hooks_url":"https://api.github.com/repos/java8-course/lambda/hooks","issue_events_url":"https://api.github.com/repos/java8-course/lambda/issues/events{/number}","events_url":"https://api.github.com/repos/java8-course/lambda/events","assignees_url":"https://api.github.com/repos/java8-course/lambda/assignees{/user}","branches_url":"https://api.github.com/repos/java8-course/lambda/branches{/branch}","tags_url":"https://api.github.com/repos/java8-course/lambda/tags","blobs_url":"https://api.github.com/repos/java8-course/lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java8-course/lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java8-course/lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/java8-course/lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java8-course/lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/java8-course/lambda/languages","stargazers_url":"https://api.github.com/repos/java8-course/lambda/stargazers","contributors_url":"https://api.github.com/repos/java8-course/lambda/contributors","subscribers_url":"https://api.github.com/repos/java8-course/lambda/subscribers","subscription_url":"https://api.github.com/repos/java8-course/lambda/subscription","commits_url":"https://api.github.com/repos/java8-course/lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/java8-course/lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/java8-course/lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/java8-course/lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/java8-course/lambda/contents/{+path}","compare_url":"https://api.github.com/repos/java8-course/lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java8-course/lambda/merges","archive_url":"https://api.github.com/repos/java8-course/lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java8-course/lambda/downloads","issues_url":"https://api.github.com/repos/java8-course/lambda/issues{/number}","pulls_url":"https://api.github.com/repos/java8-course/lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/java8-course/lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/java8-course/lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java8-course/lambda/labels{/name}","releases_url":"https://api.github.com/repos/java8-course/lambda/releases{/id}","deployments_url":"https://api.github.com/repos/java8-course/lambda/deployments","created_at":"2016-09-20T12:15:15Z","updated_at":"2017-06-25T19:30:23Z","pushed_at":"2017-07-04T17:48:12Z","git_url":"git://github.com/java8-course/lambda.git","ssh_url":"git@github.com:java8-course/lambda.git","clone_url":"https://github.com/java8-course/lambda.git","svn_url":"https://github.com/java8-course/lambda","homepage":null,"size":22,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":152,"forks":71,"open_issues":152,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/149"},"html":{"href":"https://github.com/java8-course/lambda/pull/149"},"issue":{"href":"https://api.github.com/repos/java8-course/lambda/issues/149"},"comments":{"href":"https://api.github.com/repos/java8-course/lambda/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/java8-course/lambda/statuses/2f7e14cc683dddd6f100501e89e816bb60253429"}}}}
{"actor":{"display_login":"senia-psm"}}