{"action":"created","comment":{"url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments/27871928","id":27871928,"diff_hunk":"@@ -0,0 +1,25 @@\n+package classwork.collections10_3.CheckUser;\n+\n+import classwork.collections10_3.Objects.User;\n+\n+import java.util.Comparator;\n+\n+/**\n+ * Created by Leonid on 09.03.2015.\n+ */\n+public class UserByLastNameComparator implements Comparator<User> {\n+\n+\n+    @Override\n+    public int compare(User user1, User user2) {\n+        String str1 = user1.getLastName();","path":"Ivashkevich/src/classwork/collections10_3/CheckUser/UserByLastNameComparator.java","position":15,"original_position":15,"commit_id":"b0ba94d44532b3945fdf62a3f5abc5d74bbb40f3","original_commit_id":"b0ba94d44532b3945fdf62a3f5abc5d74bbb40f3","user":{"login":"karzhouAndrew","id":9786654,"avatar_url":"https://avatars.githubusercontent.com/u/9786654?v=3","gravatar_id":"","url":"https://api.github.com/users/karzhouAndrew","html_url":"https://github.com/karzhouAndrew","followers_url":"https://api.github.com/users/karzhouAndrew/followers","following_url":"https://api.github.com/users/karzhouAndrew/following{/other_user}","gists_url":"https://api.github.com/users/karzhouAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/karzhouAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karzhouAndrew/subscriptions","organizations_url":"https://api.github.com/users/karzhouAndrew/orgs","repos_url":"https://api.github.com/users/karzhouAndrew/repos","events_url":"https://api.github.com/users/karzhouAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/karzhouAndrew/received_events","type":"User","site_admin":false},"body":"не совсем понятно зачем два раза вызывать метод getLastName. Достаточно одного раза","created_at":"2015-04-07T12:13:14Z","updated_at":"2015-04-07T12:13:14Z","html_url":"https://github.com/karzhouAndrew/Java-Homework/pull/112#discussion_r27871928","pull_request_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments/27871928"},"html":{"href":"https://github.com/karzhouAndrew/Java-Homework/pull/112#discussion_r27871928"},"pull_request":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112","id":32292062,"html_url":"https://github.com/karzhouAndrew/Java-Homework/pull/112","diff_url":"https://github.com/karzhouAndrew/Java-Homework/pull/112.diff","patch_url":"https://github.com/karzhouAndrew/Java-Homework/pull/112.patch","issue_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/112","number":112,"state":"open","locked":false,"title":"All","user":{"login":"leonevich","id":10926036,"avatar_url":"https://avatars.githubusercontent.com/u/10926036?v=3","gravatar_id":"","url":"https://api.github.com/users/leonevich","html_url":"https://github.com/leonevich","followers_url":"https://api.github.com/users/leonevich/followers","following_url":"https://api.github.com/users/leonevich/following{/other_user}","gists_url":"https://api.github.com/users/leonevich/gists{/gist_id}","starred_url":"https://api.github.com/users/leonevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonevich/subscriptions","organizations_url":"https://api.github.com/users/leonevich/orgs","repos_url":"https://api.github.com/users/leonevich/repos","events_url":"https://api.github.com/users/leonevich/events{/privacy}","received_events_url":"https://api.github.com/users/leonevich/received_events","type":"User","site_admin":false},"body":"All_task","created_at":"2015-03-31T05:24:26Z","updated_at":"2015-04-07T12:13:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04a22f81b2c329c2299a9a16134501cc62a91654","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112/commits","review_comments_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112/comments","review_comment_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/112/comments","statuses_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/statuses/b0ba94d44532b3945fdf62a3f5abc5d74bbb40f3","head":{"label":"leonevich:All","ref":"All","sha":"b0ba94d44532b3945fdf62a3f5abc5d74bbb40f3","user":{"login":"leonevich","id":10926036,"avatar_url":"https://avatars.githubusercontent.com/u/10926036?v=3","gravatar_id":"","url":"https://api.github.com/users/leonevich","html_url":"https://github.com/leonevich","followers_url":"https://api.github.com/users/leonevich/followers","following_url":"https://api.github.com/users/leonevich/following{/other_user}","gists_url":"https://api.github.com/users/leonevich/gists{/gist_id}","starred_url":"https://api.github.com/users/leonevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonevich/subscriptions","organizations_url":"https://api.github.com/users/leonevich/orgs","repos_url":"https://api.github.com/users/leonevich/repos","events_url":"https://api.github.com/users/leonevich/events{/privacy}","received_events_url":"https://api.github.com/users/leonevich/received_events","type":"User","site_admin":false},"repo":{"id":33166193,"name":"Java-Homework","full_name":"leonevich/Java-Homework","owner":{"login":"leonevich","id":10926036,"avatar_url":"https://avatars.githubusercontent.com/u/10926036?v=3","gravatar_id":"","url":"https://api.github.com/users/leonevich","html_url":"https://github.com/leonevich","followers_url":"https://api.github.com/users/leonevich/followers","following_url":"https://api.github.com/users/leonevich/following{/other_user}","gists_url":"https://api.github.com/users/leonevich/gists{/gist_id}","starred_url":"https://api.github.com/users/leonevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonevich/subscriptions","organizations_url":"https://api.github.com/users/leonevich/orgs","repos_url":"https://api.github.com/users/leonevich/repos","events_url":"https://api.github.com/users/leonevich/events{/privacy}","received_events_url":"https://api.github.com/users/leonevich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leonevich/Java-Homework","description":"","fork":true,"url":"https://api.github.com/repos/leonevich/Java-Homework","forks_url":"https://api.github.com/repos/leonevich/Java-Homework/forks","keys_url":"https://api.github.com/repos/leonevich/Java-Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leonevich/Java-Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leonevich/Java-Homework/teams","hooks_url":"https://api.github.com/repos/leonevich/Java-Homework/hooks","issue_events_url":"https://api.github.com/repos/leonevich/Java-Homework/issues/events{/number}","events_url":"https://api.github.com/repos/leonevich/Java-Homework/events","assignees_url":"https://api.github.com/repos/leonevich/Java-Homework/assignees{/user}","branches_url":"https://api.github.com/repos/leonevich/Java-Homework/branches{/branch}","tags_url":"https://api.github.com/repos/leonevich/Java-Homework/tags","blobs_url":"https://api.github.com/repos/leonevich/Java-Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leonevich/Java-Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leonevich/Java-Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/leonevich/Java-Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leonevich/Java-Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/leonevich/Java-Homework/languages","stargazers_url":"https://api.github.com/repos/leonevich/Java-Homework/stargazers","contributors_url":"https://api.github.com/repos/leonevich/Java-Homework/contributors","subscribers_url":"https://api.github.com/repos/leonevich/Java-Homework/subscribers","subscription_url":"https://api.github.com/repos/leonevich/Java-Homework/subscription","commits_url":"https://api.github.com/repos/leonevich/Java-Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/leonevich/Java-Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/leonevich/Java-Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/leonevich/Java-Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/leonevich/Java-Homework/contents/{+path}","compare_url":"https://api.github.com/repos/leonevich/Java-Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leonevich/Java-Homework/merges","archive_url":"https://api.github.com/repos/leonevich/Java-Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leonevich/Java-Homework/downloads","issues_url":"https://api.github.com/repos/leonevich/Java-Homework/issues{/number}","pulls_url":"https://api.github.com/repos/leonevich/Java-Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/leonevich/Java-Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/leonevich/Java-Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leonevich/Java-Homework/labels{/name}","releases_url":"https://api.github.com/repos/leonevich/Java-Homework/releases{/id}","created_at":"2015-03-31T05:12:46Z","updated_at":"2015-03-31T05:12:47Z","pushed_at":"2015-04-05T17:11:18Z","git_url":"git://github.com/leonevich/Java-Homework.git","ssh_url":"git@github.com:leonevich/Java-Homework.git","clone_url":"https://github.com/leonevich/Java-Homework.git","svn_url":"https://github.com/leonevich/Java-Homework","homepage":null,"size":224,"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":"karzhouAndrew:master","ref":"master","sha":"103e4d2fbb7638649009a47457be502d729746ef","user":{"login":"karzhouAndrew","id":9786654,"avatar_url":"https://avatars.githubusercontent.com/u/9786654?v=3","gravatar_id":"","url":"https://api.github.com/users/karzhouAndrew","html_url":"https://github.com/karzhouAndrew","followers_url":"https://api.github.com/users/karzhouAndrew/followers","following_url":"https://api.github.com/users/karzhouAndrew/following{/other_user}","gists_url":"https://api.github.com/users/karzhouAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/karzhouAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karzhouAndrew/subscriptions","organizations_url":"https://api.github.com/users/karzhouAndrew/orgs","repos_url":"https://api.github.com/users/karzhouAndrew/repos","events_url":"https://api.github.com/users/karzhouAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/karzhouAndrew/received_events","type":"User","site_admin":false},"repo":{"id":30985783,"name":"Java-Homework","full_name":"karzhouAndrew/Java-Homework","owner":{"login":"karzhouAndrew","id":9786654,"avatar_url":"https://avatars.githubusercontent.com/u/9786654?v=3","gravatar_id":"","url":"https://api.github.com/users/karzhouAndrew","html_url":"https://github.com/karzhouAndrew","followers_url":"https://api.github.com/users/karzhouAndrew/followers","following_url":"https://api.github.com/users/karzhouAndrew/following{/other_user}","gists_url":"https://api.github.com/users/karzhouAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/karzhouAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karzhouAndrew/subscriptions","organizations_url":"https://api.github.com/users/karzhouAndrew/orgs","repos_url":"https://api.github.com/users/karzhouAndrew/repos","events_url":"https://api.github.com/users/karzhouAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/karzhouAndrew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karzhouAndrew/Java-Homework","description":"","fork":false,"url":"https://api.github.com/repos/karzhouAndrew/Java-Homework","forks_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/forks","keys_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/teams","hooks_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/hooks","issue_events_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/events{/number}","events_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/events","assignees_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/assignees{/user}","branches_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/branches{/branch}","tags_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/tags","blobs_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/languages","stargazers_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/stargazers","contributors_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/contributors","subscribers_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/subscribers","subscription_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/subscription","commits_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/contents/{+path}","compare_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/merges","archive_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/downloads","issues_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues{/number}","pulls_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/labels{/name}","releases_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/releases{/id}","created_at":"2015-02-18T20:40:54Z","updated_at":"2015-04-07T12:02:03Z","pushed_at":"2015-04-07T12:02:03Z","git_url":"git://github.com/karzhouAndrew/Java-Homework.git","ssh_url":"git@github.com:karzhouAndrew/Java-Homework.git","clone_url":"https://github.com/karzhouAndrew/Java-Homework.git","svn_url":"https://github.com/karzhouAndrew/Java-Homework","homepage":null,"size":1509,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":15,"forks":14,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112"},"html":{"href":"https://github.com/karzhouAndrew/Java-Homework/pull/112"},"issue":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/112"},"comments":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/statuses/b0ba94d44532b3945fdf62a3f5abc5d74bbb40f3"}}}}