{"action":"created","comment":{"url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/comments/89215318","pull_request_review_id":9761397,"id":89215318,"diff_hunk":"@@ -0,0 +1,24 @@\n+package algo;\n+\n+import algo.BinarySearch;\n+\n+public class BubbleSortBinarySearch extends BinarySearch {\n+\n+  public Object[] sort(Object[] unsorted) {\n+    Object tmp = new Object();\n+    for (int i = 0; i < unsorted.length; i++) {\n+      for (int j = 1; j < unsorted.length - 1; j++) {\n+        if (firstBiggerThanSecond(unsorted[j - 1],unsorted[j])) {\n+          tmp = unsorted[j];\n+          unsorted[j] = unsorted[j - 1];\n+          unsorted[j - 1] = tmp;\n+        }\n+      }\n+    }\n+    return unsorted;\n+  }\n+\n+  private boolean firstBiggerThanSecond(Object first, Object second) {","path":"homework/lesson_12/alexander.bazhanov/src/main/java/algo/BubbleSortBinarySearch.java","position":21,"original_position":21,"commit_id":"6f1adb433693583bfaaf3f2228f92b4f7fce998b","original_commit_id":"6f1adb433693583bfaaf3f2228f92b4f7fce998b","user":{"login":"Dmitry404","id":188851,"avatar_url":"https://avatars.githubusercontent.com/u/188851?v=3","gravatar_id":"","url":"https://api.github.com/users/Dmitry404","html_url":"https://github.com/Dmitry404","followers_url":"https://api.github.com/users/Dmitry404/followers","following_url":"https://api.github.com/users/Dmitry404/following{/other_user}","gists_url":"https://api.github.com/users/Dmitry404/gists{/gist_id}","starred_url":"https://api.github.com/users/Dmitry404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dmitry404/subscriptions","organizations_url":"https://api.github.com/users/Dmitry404/orgs","repos_url":"https://api.github.com/users/Dmitry404/repos","events_url":"https://api.github.com/users/Dmitry404/events{/privacy}","received_events_url":"https://api.github.com/users/Dmitry404/received_events","type":"User","site_admin":false},"body":"Может проще назвать `compare`? :) ","created_at":"2016-11-22T21:37:33Z","updated_at":"2016-11-22T21:37:33Z","html_url":"https://github.com/jelementary-finches/homework-with-gradle/pull/28#discussion_r89215318","pull_request_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/comments/89215318"},"html":{"href":"https://github.com/jelementary-finches/homework-with-gradle/pull/28#discussion_r89215318"},"pull_request":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28","id":94160354,"html_url":"https://github.com/jelementary-finches/homework-with-gradle/pull/28","diff_url":"https://github.com/jelementary-finches/homework-with-gradle/pull/28.diff","patch_url":"https://github.com/jelementary-finches/homework-with-gradle/pull/28.patch","issue_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues/28","number":28,"state":"open","locked":false,"title":"lesson_10; lesson_11; lesson_12","user":{"login":"Sunscratch","id":21058716,"avatar_url":"https://avatars.githubusercontent.com/u/21058716?v=3","gravatar_id":"","url":"https://api.github.com/users/Sunscratch","html_url":"https://github.com/Sunscratch","followers_url":"https://api.github.com/users/Sunscratch/followers","following_url":"https://api.github.com/users/Sunscratch/following{/other_user}","gists_url":"https://api.github.com/users/Sunscratch/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunscratch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunscratch/subscriptions","organizations_url":"https://api.github.com/users/Sunscratch/orgs","repos_url":"https://api.github.com/users/Sunscratch/repos","events_url":"https://api.github.com/users/Sunscratch/events{/privacy}","received_events_url":"https://api.github.com/users/Sunscratch/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-17T12:44:30Z","updated_at":"2016-11-22T21:41:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c472dcdcef1e26b0078cdef00c062f4312110a0f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28/commits","review_comments_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28/comments","review_comment_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues/28/comments","statuses_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/statuses/6f1adb433693583bfaaf3f2228f92b4f7fce998b","head":{"label":"Sunscratch:master","ref":"master","sha":"6f1adb433693583bfaaf3f2228f92b4f7fce998b","user":{"login":"Sunscratch","id":21058716,"avatar_url":"https://avatars.githubusercontent.com/u/21058716?v=3","gravatar_id":"","url":"https://api.github.com/users/Sunscratch","html_url":"https://github.com/Sunscratch","followers_url":"https://api.github.com/users/Sunscratch/followers","following_url":"https://api.github.com/users/Sunscratch/following{/other_user}","gists_url":"https://api.github.com/users/Sunscratch/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunscratch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunscratch/subscriptions","organizations_url":"https://api.github.com/users/Sunscratch/orgs","repos_url":"https://api.github.com/users/Sunscratch/repos","events_url":"https://api.github.com/users/Sunscratch/events{/privacy}","received_events_url":"https://api.github.com/users/Sunscratch/received_events","type":"User","site_admin":false},"repo":{"id":73425932,"name":"homework-with-gradle","full_name":"Sunscratch/homework-with-gradle","owner":{"login":"Sunscratch","id":21058716,"avatar_url":"https://avatars.githubusercontent.com/u/21058716?v=3","gravatar_id":"","url":"https://api.github.com/users/Sunscratch","html_url":"https://github.com/Sunscratch","followers_url":"https://api.github.com/users/Sunscratch/followers","following_url":"https://api.github.com/users/Sunscratch/following{/other_user}","gists_url":"https://api.github.com/users/Sunscratch/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunscratch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunscratch/subscriptions","organizations_url":"https://api.github.com/users/Sunscratch/orgs","repos_url":"https://api.github.com/users/Sunscratch/repos","events_url":"https://api.github.com/users/Sunscratch/events{/privacy}","received_events_url":"https://api.github.com/users/Sunscratch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sunscratch/homework-with-gradle","description":null,"fork":true,"url":"https://api.github.com/repos/Sunscratch/homework-with-gradle","forks_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/forks","keys_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/teams","hooks_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/hooks","issue_events_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/events","assignees_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/tags","blobs_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/languages","stargazers_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/stargazers","contributors_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/contributors","subscribers_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/subscribers","subscription_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/subscription","commits_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/merges","archive_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/downloads","issues_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/labels{/name}","releases_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/releases{/id}","deployments_url":"https://api.github.com/repos/Sunscratch/homework-with-gradle/deployments","created_at":"2016-11-10T22:25:40Z","updated_at":"2016-11-10T22:25:41Z","pushed_at":"2016-11-21T21:59:02Z","git_url":"git://github.com/Sunscratch/homework-with-gradle.git","ssh_url":"git@github.com:Sunscratch/homework-with-gradle.git","clone_url":"https://github.com/Sunscratch/homework-with-gradle.git","svn_url":"https://github.com/Sunscratch/homework-with-gradle","homepage":null,"size":143,"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":"jelementary-finches:master","ref":"master","sha":"3515695fec088b1880b47282512713ed47382e22","user":{"login":"jelementary-finches","id":22641873,"avatar_url":"https://avatars.githubusercontent.com/u/22641873?v=3","gravatar_id":"","url":"https://api.github.com/users/jelementary-finches","html_url":"https://github.com/jelementary-finches","followers_url":"https://api.github.com/users/jelementary-finches/followers","following_url":"https://api.github.com/users/jelementary-finches/following{/other_user}","gists_url":"https://api.github.com/users/jelementary-finches/gists{/gist_id}","starred_url":"https://api.github.com/users/jelementary-finches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelementary-finches/subscriptions","organizations_url":"https://api.github.com/users/jelementary-finches/orgs","repos_url":"https://api.github.com/users/jelementary-finches/repos","events_url":"https://api.github.com/users/jelementary-finches/events{/privacy}","received_events_url":"https://api.github.com/users/jelementary-finches/received_events","type":"Organization","site_admin":false},"repo":{"id":72237790,"name":"homework-with-gradle","full_name":"jelementary-finches/homework-with-gradle","owner":{"login":"jelementary-finches","id":22641873,"avatar_url":"https://avatars.githubusercontent.com/u/22641873?v=3","gravatar_id":"","url":"https://api.github.com/users/jelementary-finches","html_url":"https://github.com/jelementary-finches","followers_url":"https://api.github.com/users/jelementary-finches/followers","following_url":"https://api.github.com/users/jelementary-finches/following{/other_user}","gists_url":"https://api.github.com/users/jelementary-finches/gists{/gist_id}","starred_url":"https://api.github.com/users/jelementary-finches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelementary-finches/subscriptions","organizations_url":"https://api.github.com/users/jelementary-finches/orgs","repos_url":"https://api.github.com/users/jelementary-finches/repos","events_url":"https://api.github.com/users/jelementary-finches/events{/privacy}","received_events_url":"https://api.github.com/users/jelementary-finches/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jelementary-finches/homework-with-gradle","description":null,"fork":true,"url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle","forks_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/forks","keys_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/teams","hooks_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/hooks","issue_events_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/events","assignees_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/tags","blobs_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/languages","stargazers_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/stargazers","contributors_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/contributors","subscribers_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/subscribers","subscription_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/subscription","commits_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/merges","archive_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/downloads","issues_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/labels{/name}","releases_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/releases{/id}","deployments_url":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/deployments","created_at":"2016-10-28T19:55:50Z","updated_at":"2016-10-28T19:55:51Z","pushed_at":"2016-11-22T21:21:08Z","git_url":"git://github.com/jelementary-finches/homework-with-gradle.git","ssh_url":"git@github.com:jelementary-finches/homework-with-gradle.git","clone_url":"https://github.com/jelementary-finches/homework-with-gradle.git","svn_url":"https://github.com/jelementary-finches/homework-with-gradle","homepage":null,"size":207,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":8,"forks":10,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28"},"html":{"href":"https://github.com/jelementary-finches/homework-with-gradle/pull/28"},"issue":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues/28"},"comments":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/jelementary-finches/homework-with-gradle/statuses/6f1adb433693583bfaaf3f2228f92b4f7fce998b"}}}}
{"actor":{"display_login":"Dmitry404"}}