{"action":"created","comment":{"url":"https://api.github.com/repos/esengie/au_java/pulls/comments/81131391","pull_request_review_id":2128130,"id":81131391,"diff_hunk":"@@ -0,0 +1,31 @@\n+package ru.spbau.mit.AsdCommand;\n+\n+import java.io.IOException;\n+import java.io.PrintStream;\n+import java.nio.file.Paths;\n+import java.util.HashSet;\n+import java.util.List;\n+\n+import com.beust.jcommander.Parameter;\n+import com.beust.jcommander.Parameters;\n+import ru.spbau.mit.AsdCommand.Exceptions.TooLittleArgumentsException;\n+import ru.spbau.mit.Revisions.RevisionTree.RevisionTree;\n+import ru.spbau.mit.Staging.Staging;\n+\n+@Parameters(commandDescription = \"Add files to the index\")\n+public class AddCommand implements AsdCommand {\n+    @Parameter(description = \"File patterns to add to the index\")\n+    private List<String> patterns;\n+\n+    protected AddCommand() {\n+    }\n+\n+    @Override\n+    public void run(RevisionTree a_tree, Staging a_staging, PrintStream a_writer) throws IOException {","path":"src/main/java/ru/spbau/mit/AsdCommand/AddCommand.java","position":24,"original_position":24,"commit_id":"a385cf5bdd7eede97a0ca69557fd34f64c9719d2","original_commit_id":"a385cf5bdd7eede97a0ca69557fd34f64c9719d2","user":{"login":"jzuken","id":705678,"avatar_url":"https://avatars.githubusercontent.com/u/705678?v=3","gravatar_id":"","url":"https://api.github.com/users/jzuken","html_url":"https://github.com/jzuken","followers_url":"https://api.github.com/users/jzuken/followers","following_url":"https://api.github.com/users/jzuken/following{/other_user}","gists_url":"https://api.github.com/users/jzuken/gists{/gist_id}","starred_url":"https://api.github.com/users/jzuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzuken/subscriptions","organizations_url":"https://api.github.com/users/jzuken/orgs","repos_url":"https://api.github.com/users/jzuken/repos","events_url":"https://api.github.com/users/jzuken/events{/privacy}","received_events_url":"https://api.github.com/users/jzuken/received_events","type":"User","site_admin":false},"body":"в джаве разве не camelCase для имён переменных принят?","created_at":"2016-09-29T13:07:10Z","updated_at":"2016-09-29T13:07:10Z","html_url":"https://github.com/esengie/au_java/pull/7#discussion_r81131391","pull_request_url":"https://api.github.com/repos/esengie/au_java/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/esengie/au_java/pulls/comments/81131391"},"html":{"href":"https://github.com/esengie/au_java/pull/7#discussion_r81131391"},"pull_request":{"href":"https://api.github.com/repos/esengie/au_java/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/esengie/au_java/pulls/7","id":86564681,"html_url":"https://github.com/esengie/au_java/pull/7","diff_url":"https://github.com/esengie/au_java/pull/7.diff","patch_url":"https://github.com/esengie/au_java/pull/7.patch","issue_url":"https://api.github.com/repos/esengie/au_java/issues/7","number":7,"state":"open","locked":false,"title":"PR: Java02. ДЗ 02, Гарифуллин Шамиль, подгруппа Тимофея Брыксина","user":{"login":"esengie","id":1163240,"avatar_url":"https://avatars.githubusercontent.com/u/1163240?v=3","gravatar_id":"","url":"https://api.github.com/users/esengie","html_url":"https://github.com/esengie","followers_url":"https://api.github.com/users/esengie/followers","following_url":"https://api.github.com/users/esengie/following{/other_user}","gists_url":"https://api.github.com/users/esengie/gists{/gist_id}","starred_url":"https://api.github.com/users/esengie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esengie/subscriptions","organizations_url":"https://api.github.com/users/esengie/orgs","repos_url":"https://api.github.com/users/esengie/repos","events_url":"https://api.github.com/users/esengie/events{/privacy}","received_events_url":"https://api.github.com/users/esengie/received_events","type":"User","site_admin":false},"body":"@jzuken","created_at":"2016-09-23T19:04:46Z","updated_at":"2016-09-29T13:50:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"584d40fcf9e565caa21cc7d0a1be9610ecb10e90","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/esengie/au_java/pulls/7/commits","review_comments_url":"https://api.github.com/repos/esengie/au_java/pulls/7/comments","review_comment_url":"https://api.github.com/repos/esengie/au_java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esengie/au_java/issues/7/comments","statuses_url":"https://api.github.com/repos/esengie/au_java/statuses/a385cf5bdd7eede97a0ca69557fd34f64c9719d2","head":{"label":"esengie:sem2-hw2-git","ref":"sem2-hw2-git","sha":"a385cf5bdd7eede97a0ca69557fd34f64c9719d2","user":{"login":"esengie","id":1163240,"avatar_url":"https://avatars.githubusercontent.com/u/1163240?v=3","gravatar_id":"","url":"https://api.github.com/users/esengie","html_url":"https://github.com/esengie","followers_url":"https://api.github.com/users/esengie/followers","following_url":"https://api.github.com/users/esengie/following{/other_user}","gists_url":"https://api.github.com/users/esengie/gists{/gist_id}","starred_url":"https://api.github.com/users/esengie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esengie/subscriptions","organizations_url":"https://api.github.com/users/esengie/orgs","repos_url":"https://api.github.com/users/esengie/repos","events_url":"https://api.github.com/users/esengie/events{/privacy}","received_events_url":"https://api.github.com/users/esengie/received_events","type":"User","site_admin":false},"repo":{"id":51833667,"name":"au_java","full_name":"esengie/au_java","owner":{"login":"esengie","id":1163240,"avatar_url":"https://avatars.githubusercontent.com/u/1163240?v=3","gravatar_id":"","url":"https://api.github.com/users/esengie","html_url":"https://github.com/esengie","followers_url":"https://api.github.com/users/esengie/followers","following_url":"https://api.github.com/users/esengie/following{/other_user}","gists_url":"https://api.github.com/users/esengie/gists{/gist_id}","starred_url":"https://api.github.com/users/esengie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esengie/subscriptions","organizations_url":"https://api.github.com/users/esengie/orgs","repos_url":"https://api.github.com/users/esengie/repos","events_url":"https://api.github.com/users/esengie/events{/privacy}","received_events_url":"https://api.github.com/users/esengie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esengie/au_java","description":"Javajavajavajavajavajava","fork":false,"url":"https://api.github.com/repos/esengie/au_java","forks_url":"https://api.github.com/repos/esengie/au_java/forks","keys_url":"https://api.github.com/repos/esengie/au_java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esengie/au_java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esengie/au_java/teams","hooks_url":"https://api.github.com/repos/esengie/au_java/hooks","issue_events_url":"https://api.github.com/repos/esengie/au_java/issues/events{/number}","events_url":"https://api.github.com/repos/esengie/au_java/events","assignees_url":"https://api.github.com/repos/esengie/au_java/assignees{/user}","branches_url":"https://api.github.com/repos/esengie/au_java/branches{/branch}","tags_url":"https://api.github.com/repos/esengie/au_java/tags","blobs_url":"https://api.github.com/repos/esengie/au_java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esengie/au_java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esengie/au_java/git/refs{/sha}","trees_url":"https://api.github.com/repos/esengie/au_java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esengie/au_java/statuses/{sha}","languages_url":"https://api.github.com/repos/esengie/au_java/languages","stargazers_url":"https://api.github.com/repos/esengie/au_java/stargazers","contributors_url":"https://api.github.com/repos/esengie/au_java/contributors","subscribers_url":"https://api.github.com/repos/esengie/au_java/subscribers","subscription_url":"https://api.github.com/repos/esengie/au_java/subscription","commits_url":"https://api.github.com/repos/esengie/au_java/commits{/sha}","git_commits_url":"https://api.github.com/repos/esengie/au_java/git/commits{/sha}","comments_url":"https://api.github.com/repos/esengie/au_java/comments{/number}","issue_comment_url":"https://api.github.com/repos/esengie/au_java/issues/comments{/number}","contents_url":"https://api.github.com/repos/esengie/au_java/contents/{+path}","compare_url":"https://api.github.com/repos/esengie/au_java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esengie/au_java/merges","archive_url":"https://api.github.com/repos/esengie/au_java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esengie/au_java/downloads","issues_url":"https://api.github.com/repos/esengie/au_java/issues{/number}","pulls_url":"https://api.github.com/repos/esengie/au_java/pulls{/number}","milestones_url":"https://api.github.com/repos/esengie/au_java/milestones{/number}","notifications_url":"https://api.github.com/repos/esengie/au_java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esengie/au_java/labels{/name}","releases_url":"https://api.github.com/repos/esengie/au_java/releases{/id}","deployments_url":"https://api.github.com/repos/esengie/au_java/deployments","created_at":"2016-02-16T12:18:32Z","updated_at":"2016-09-13T09:16:47Z","pushed_at":"2016-09-23T19:04:46Z","git_url":"git://github.com/esengie/au_java.git","ssh_url":"git@github.com:esengie/au_java.git","clone_url":"https://github.com/esengie/au_java.git","svn_url":"https://github.com/esengie/au_java","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"compare"}},"base":{"label":"esengie:compare","ref":"compare","sha":"5afaaa8604c986fac759c658d137082a8826b1c4","user":{"login":"esengie","id":1163240,"avatar_url":"https://avatars.githubusercontent.com/u/1163240?v=3","gravatar_id":"","url":"https://api.github.com/users/esengie","html_url":"https://github.com/esengie","followers_url":"https://api.github.com/users/esengie/followers","following_url":"https://api.github.com/users/esengie/following{/other_user}","gists_url":"https://api.github.com/users/esengie/gists{/gist_id}","starred_url":"https://api.github.com/users/esengie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esengie/subscriptions","organizations_url":"https://api.github.com/users/esengie/orgs","repos_url":"https://api.github.com/users/esengie/repos","events_url":"https://api.github.com/users/esengie/events{/privacy}","received_events_url":"https://api.github.com/users/esengie/received_events","type":"User","site_admin":false},"repo":{"id":51833667,"name":"au_java","full_name":"esengie/au_java","owner":{"login":"esengie","id":1163240,"avatar_url":"https://avatars.githubusercontent.com/u/1163240?v=3","gravatar_id":"","url":"https://api.github.com/users/esengie","html_url":"https://github.com/esengie","followers_url":"https://api.github.com/users/esengie/followers","following_url":"https://api.github.com/users/esengie/following{/other_user}","gists_url":"https://api.github.com/users/esengie/gists{/gist_id}","starred_url":"https://api.github.com/users/esengie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esengie/subscriptions","organizations_url":"https://api.github.com/users/esengie/orgs","repos_url":"https://api.github.com/users/esengie/repos","events_url":"https://api.github.com/users/esengie/events{/privacy}","received_events_url":"https://api.github.com/users/esengie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esengie/au_java","description":"Javajavajavajavajavajava","fork":false,"url":"https://api.github.com/repos/esengie/au_java","forks_url":"https://api.github.com/repos/esengie/au_java/forks","keys_url":"https://api.github.com/repos/esengie/au_java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esengie/au_java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esengie/au_java/teams","hooks_url":"https://api.github.com/repos/esengie/au_java/hooks","issue_events_url":"https://api.github.com/repos/esengie/au_java/issues/events{/number}","events_url":"https://api.github.com/repos/esengie/au_java/events","assignees_url":"https://api.github.com/repos/esengie/au_java/assignees{/user}","branches_url":"https://api.github.com/repos/esengie/au_java/branches{/branch}","tags_url":"https://api.github.com/repos/esengie/au_java/tags","blobs_url":"https://api.github.com/repos/esengie/au_java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esengie/au_java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esengie/au_java/git/refs{/sha}","trees_url":"https://api.github.com/repos/esengie/au_java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esengie/au_java/statuses/{sha}","languages_url":"https://api.github.com/repos/esengie/au_java/languages","stargazers_url":"https://api.github.com/repos/esengie/au_java/stargazers","contributors_url":"https://api.github.com/repos/esengie/au_java/contributors","subscribers_url":"https://api.github.com/repos/esengie/au_java/subscribers","subscription_url":"https://api.github.com/repos/esengie/au_java/subscription","commits_url":"https://api.github.com/repos/esengie/au_java/commits{/sha}","git_commits_url":"https://api.github.com/repos/esengie/au_java/git/commits{/sha}","comments_url":"https://api.github.com/repos/esengie/au_java/comments{/number}","issue_comment_url":"https://api.github.com/repos/esengie/au_java/issues/comments{/number}","contents_url":"https://api.github.com/repos/esengie/au_java/contents/{+path}","compare_url":"https://api.github.com/repos/esengie/au_java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esengie/au_java/merges","archive_url":"https://api.github.com/repos/esengie/au_java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esengie/au_java/downloads","issues_url":"https://api.github.com/repos/esengie/au_java/issues{/number}","pulls_url":"https://api.github.com/repos/esengie/au_java/pulls{/number}","milestones_url":"https://api.github.com/repos/esengie/au_java/milestones{/number}","notifications_url":"https://api.github.com/repos/esengie/au_java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esengie/au_java/labels{/name}","releases_url":"https://api.github.com/repos/esengie/au_java/releases{/id}","deployments_url":"https://api.github.com/repos/esengie/au_java/deployments","created_at":"2016-02-16T12:18:32Z","updated_at":"2016-09-13T09:16:47Z","pushed_at":"2016-09-23T19:04:46Z","git_url":"git://github.com/esengie/au_java.git","ssh_url":"git@github.com:esengie/au_java.git","clone_url":"https://github.com/esengie/au_java.git","svn_url":"https://github.com/esengie/au_java","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"compare"}},"_links":{"self":{"href":"https://api.github.com/repos/esengie/au_java/pulls/7"},"html":{"href":"https://github.com/esengie/au_java/pull/7"},"issue":{"href":"https://api.github.com/repos/esengie/au_java/issues/7"},"comments":{"href":"https://api.github.com/repos/esengie/au_java/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/esengie/au_java/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/esengie/au_java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esengie/au_java/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/esengie/au_java/statuses/a385cf5bdd7eede97a0ca69557fd34f64c9719d2"}}}}
{"actor":{"display_login":"jzuken"}}