{"action":"created","comment":{"url":"https://api.github.com/repos/Kirill-Andreev/University/pulls/comments/94066938","pull_request_review_id":14597378,"id":94066938,"diff_hunk":"@@ -0,0 +1,329 @@\n+﻿using System;\n+using System.Collections;\n+using System.Collections.Generic;\n+\n+namespace BinaryTreeNameSpace\n+{\n+    /// <summary>\n+    /// Implementation of binary tree with enumerator\n+    /// </summary>\n+    public class BinaryTree<T> : IBinaryTree<T>, IEnumerable<T> where T : IComparable<T>\n+    {\n+        private Node root;\n+\n+        public void Add(T element)\n+        {\n+            if (root == null || root.Element.Equals(element))\n+            {\n+                root = new Node(element);\n+            }\n+            else\n+            {\n+                Add(element, root);\n+            }\n+        }\n+\n+        public bool Remove(T value)\n+        {\n+            Node current, parent;","path":"3rd semester/BinaryTree/BinaryTree/BinaryTree.cs","position":28,"original_position":28,"commit_id":"001fa917abaf948b4c83f50351dd703ab73e027c","original_commit_id":"001fa917abaf948b4c83f50351dd703ab73e027c","user":{"login":"yurii-litvinov","id":706768,"avatar_url":"https://avatars.githubusercontent.com/u/706768?v=3","gravatar_id":"","url":"https://api.github.com/users/yurii-litvinov","html_url":"https://github.com/yurii-litvinov","followers_url":"https://api.github.com/users/yurii-litvinov/followers","following_url":"https://api.github.com/users/yurii-litvinov/following{/other_user}","gists_url":"https://api.github.com/users/yurii-litvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/yurii-litvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurii-litvinov/subscriptions","organizations_url":"https://api.github.com/users/yurii-litvinov/orgs","repos_url":"https://api.github.com/users/yurii-litvinov/repos","events_url":"https://api.github.com/users/yurii-litvinov/events{/privacy}","received_events_url":"https://api.github.com/users/yurii-litvinov/received_events","type":"User","site_admin":false},"body":"Два объявления на одной строчке --- не очень, к тому же current можно объявить в месте первого использования..","created_at":"2016-12-28T19:13:26Z","updated_at":"2016-12-28T19:21:11Z","html_url":"https://github.com/Kirill-Andreev/University/pull/22#discussion_r94066938","pull_request_url":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/Kirill-Andreev/University/pulls/comments/94066938"},"html":{"href":"https://github.com/Kirill-Andreev/University/pull/22#discussion_r94066938"},"pull_request":{"href":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22","id":99327213,"html_url":"https://github.com/Kirill-Andreev/University/pull/22","diff_url":"https://github.com/Kirill-Andreev/University/pull/22.diff","patch_url":"https://github.com/Kirill-Andreev/University/pull/22.patch","issue_url":"https://api.github.com/repos/Kirill-Andreev/University/issues/22","number":22,"state":"open","locked":false,"title":"Implementation of binary tree with enumerator","user":{"login":"Kirill-Andreev","id":14337005,"avatar_url":"https://avatars.githubusercontent.com/u/14337005?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirill-Andreev","html_url":"https://github.com/Kirill-Andreev","followers_url":"https://api.github.com/users/Kirill-Andreev/followers","following_url":"https://api.github.com/users/Kirill-Andreev/following{/other_user}","gists_url":"https://api.github.com/users/Kirill-Andreev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirill-Andreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirill-Andreev/subscriptions","organizations_url":"https://api.github.com/users/Kirill-Andreev/orgs","repos_url":"https://api.github.com/users/Kirill-Andreev/repos","events_url":"https://api.github.com/users/Kirill-Andreev/events{/privacy}","received_events_url":"https://api.github.com/users/Kirill-Andreev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-25T18:24:13Z","updated_at":"2016-12-28T19:21:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"413f2e32b2ffa9aa4a0a02b765255b5d7f5ffda0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Kirill-Andreev/University/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kirill-Andreev/University/issues/22/comments","statuses_url":"https://api.github.com/repos/Kirill-Andreev/University/statuses/001fa917abaf948b4c83f50351dd703ab73e027c","head":{"label":"Kirill-Andreev:GenericBinaryTree","ref":"GenericBinaryTree","sha":"001fa917abaf948b4c83f50351dd703ab73e027c","user":{"login":"Kirill-Andreev","id":14337005,"avatar_url":"https://avatars.githubusercontent.com/u/14337005?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirill-Andreev","html_url":"https://github.com/Kirill-Andreev","followers_url":"https://api.github.com/users/Kirill-Andreev/followers","following_url":"https://api.github.com/users/Kirill-Andreev/following{/other_user}","gists_url":"https://api.github.com/users/Kirill-Andreev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirill-Andreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirill-Andreev/subscriptions","organizations_url":"https://api.github.com/users/Kirill-Andreev/orgs","repos_url":"https://api.github.com/users/Kirill-Andreev/repos","events_url":"https://api.github.com/users/Kirill-Andreev/events{/privacy}","received_events_url":"https://api.github.com/users/Kirill-Andreev/received_events","type":"User","site_admin":false},"repo":{"id":42678978,"name":"University","full_name":"Kirill-Andreev/University","owner":{"login":"Kirill-Andreev","id":14337005,"avatar_url":"https://avatars.githubusercontent.com/u/14337005?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirill-Andreev","html_url":"https://github.com/Kirill-Andreev","followers_url":"https://api.github.com/users/Kirill-Andreev/followers","following_url":"https://api.github.com/users/Kirill-Andreev/following{/other_user}","gists_url":"https://api.github.com/users/Kirill-Andreev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirill-Andreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirill-Andreev/subscriptions","organizations_url":"https://api.github.com/users/Kirill-Andreev/orgs","repos_url":"https://api.github.com/users/Kirill-Andreev/repos","events_url":"https://api.github.com/users/Kirill-Andreev/events{/privacy}","received_events_url":"https://api.github.com/users/Kirill-Andreev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kirill-Andreev/University","description":null,"fork":false,"url":"https://api.github.com/repos/Kirill-Andreev/University","forks_url":"https://api.github.com/repos/Kirill-Andreev/University/forks","keys_url":"https://api.github.com/repos/Kirill-Andreev/University/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kirill-Andreev/University/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kirill-Andreev/University/teams","hooks_url":"https://api.github.com/repos/Kirill-Andreev/University/hooks","issue_events_url":"https://api.github.com/repos/Kirill-Andreev/University/issues/events{/number}","events_url":"https://api.github.com/repos/Kirill-Andreev/University/events","assignees_url":"https://api.github.com/repos/Kirill-Andreev/University/assignees{/user}","branches_url":"https://api.github.com/repos/Kirill-Andreev/University/branches{/branch}","tags_url":"https://api.github.com/repos/Kirill-Andreev/University/tags","blobs_url":"https://api.github.com/repos/Kirill-Andreev/University/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kirill-Andreev/University/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kirill-Andreev/University/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kirill-Andreev/University/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kirill-Andreev/University/statuses/{sha}","languages_url":"https://api.github.com/repos/Kirill-Andreev/University/languages","stargazers_url":"https://api.github.com/repos/Kirill-Andreev/University/stargazers","contributors_url":"https://api.github.com/repos/Kirill-Andreev/University/contributors","subscribers_url":"https://api.github.com/repos/Kirill-Andreev/University/subscribers","subscription_url":"https://api.github.com/repos/Kirill-Andreev/University/subscription","commits_url":"https://api.github.com/repos/Kirill-Andreev/University/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kirill-Andreev/University/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kirill-Andreev/University/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kirill-Andreev/University/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kirill-Andreev/University/contents/{+path}","compare_url":"https://api.github.com/repos/Kirill-Andreev/University/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kirill-Andreev/University/merges","archive_url":"https://api.github.com/repos/Kirill-Andreev/University/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kirill-Andreev/University/downloads","issues_url":"https://api.github.com/repos/Kirill-Andreev/University/issues{/number}","pulls_url":"https://api.github.com/repos/Kirill-Andreev/University/pulls{/number}","milestones_url":"https://api.github.com/repos/Kirill-Andreev/University/milestones{/number}","notifications_url":"https://api.github.com/repos/Kirill-Andreev/University/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kirill-Andreev/University/labels{/name}","releases_url":"https://api.github.com/repos/Kirill-Andreev/University/releases{/id}","deployments_url":"https://api.github.com/repos/Kirill-Andreev/University/deployments","created_at":"2015-09-17T20:01:39Z","updated_at":"2016-02-21T17:40:52Z","pushed_at":"2016-12-28T14:10:17Z","git_url":"git://github.com/Kirill-Andreev/University.git","ssh_url":"git@github.com:Kirill-Andreev/University.git","clone_url":"https://github.com/Kirill-Andreev/University.git","svn_url":"https://github.com/Kirill-Andreev/University","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"Kirill-Andreev:master","ref":"master","sha":"e08724d3a705fb65cbb136fc8d6fd3862fca0eb6","user":{"login":"Kirill-Andreev","id":14337005,"avatar_url":"https://avatars.githubusercontent.com/u/14337005?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirill-Andreev","html_url":"https://github.com/Kirill-Andreev","followers_url":"https://api.github.com/users/Kirill-Andreev/followers","following_url":"https://api.github.com/users/Kirill-Andreev/following{/other_user}","gists_url":"https://api.github.com/users/Kirill-Andreev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirill-Andreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirill-Andreev/subscriptions","organizations_url":"https://api.github.com/users/Kirill-Andreev/orgs","repos_url":"https://api.github.com/users/Kirill-Andreev/repos","events_url":"https://api.github.com/users/Kirill-Andreev/events{/privacy}","received_events_url":"https://api.github.com/users/Kirill-Andreev/received_events","type":"User","site_admin":false},"repo":{"id":42678978,"name":"University","full_name":"Kirill-Andreev/University","owner":{"login":"Kirill-Andreev","id":14337005,"avatar_url":"https://avatars.githubusercontent.com/u/14337005?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirill-Andreev","html_url":"https://github.com/Kirill-Andreev","followers_url":"https://api.github.com/users/Kirill-Andreev/followers","following_url":"https://api.github.com/users/Kirill-Andreev/following{/other_user}","gists_url":"https://api.github.com/users/Kirill-Andreev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirill-Andreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirill-Andreev/subscriptions","organizations_url":"https://api.github.com/users/Kirill-Andreev/orgs","repos_url":"https://api.github.com/users/Kirill-Andreev/repos","events_url":"https://api.github.com/users/Kirill-Andreev/events{/privacy}","received_events_url":"https://api.github.com/users/Kirill-Andreev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kirill-Andreev/University","description":null,"fork":false,"url":"https://api.github.com/repos/Kirill-Andreev/University","forks_url":"https://api.github.com/repos/Kirill-Andreev/University/forks","keys_url":"https://api.github.com/repos/Kirill-Andreev/University/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kirill-Andreev/University/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kirill-Andreev/University/teams","hooks_url":"https://api.github.com/repos/Kirill-Andreev/University/hooks","issue_events_url":"https://api.github.com/repos/Kirill-Andreev/University/issues/events{/number}","events_url":"https://api.github.com/repos/Kirill-Andreev/University/events","assignees_url":"https://api.github.com/repos/Kirill-Andreev/University/assignees{/user}","branches_url":"https://api.github.com/repos/Kirill-Andreev/University/branches{/branch}","tags_url":"https://api.github.com/repos/Kirill-Andreev/University/tags","blobs_url":"https://api.github.com/repos/Kirill-Andreev/University/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kirill-Andreev/University/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kirill-Andreev/University/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kirill-Andreev/University/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kirill-Andreev/University/statuses/{sha}","languages_url":"https://api.github.com/repos/Kirill-Andreev/University/languages","stargazers_url":"https://api.github.com/repos/Kirill-Andreev/University/stargazers","contributors_url":"https://api.github.com/repos/Kirill-Andreev/University/contributors","subscribers_url":"https://api.github.com/repos/Kirill-Andreev/University/subscribers","subscription_url":"https://api.github.com/repos/Kirill-Andreev/University/subscription","commits_url":"https://api.github.com/repos/Kirill-Andreev/University/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kirill-Andreev/University/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kirill-Andreev/University/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kirill-Andreev/University/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kirill-Andreev/University/contents/{+path}","compare_url":"https://api.github.com/repos/Kirill-Andreev/University/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kirill-Andreev/University/merges","archive_url":"https://api.github.com/repos/Kirill-Andreev/University/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kirill-Andreev/University/downloads","issues_url":"https://api.github.com/repos/Kirill-Andreev/University/issues{/number}","pulls_url":"https://api.github.com/repos/Kirill-Andreev/University/pulls{/number}","milestones_url":"https://api.github.com/repos/Kirill-Andreev/University/milestones{/number}","notifications_url":"https://api.github.com/repos/Kirill-Andreev/University/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kirill-Andreev/University/labels{/name}","releases_url":"https://api.github.com/repos/Kirill-Andreev/University/releases{/id}","deployments_url":"https://api.github.com/repos/Kirill-Andreev/University/deployments","created_at":"2015-09-17T20:01:39Z","updated_at":"2016-02-21T17:40:52Z","pushed_at":"2016-12-28T14:10:17Z","git_url":"git://github.com/Kirill-Andreev/University.git","ssh_url":"git@github.com:Kirill-Andreev/University.git","clone_url":"https://github.com/Kirill-Andreev/University.git","svn_url":"https://github.com/Kirill-Andreev/University","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22"},"html":{"href":"https://github.com/Kirill-Andreev/University/pull/22"},"issue":{"href":"https://api.github.com/repos/Kirill-Andreev/University/issues/22"},"comments":{"href":"https://api.github.com/repos/Kirill-Andreev/University/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Kirill-Andreev/University/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kirill-Andreev/University/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Kirill-Andreev/University/statuses/001fa917abaf948b4c83f50351dd703ab73e027c"}}}}
{"actor":{"display_login":"yurii-litvinov"}}