GitHub PullRequestReviewCommentEvent at 2014-10-13 12:56:52
Repository: fizteh-java-2014
Actor: vpavlenko
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/comments/18767583","id":18767583,"diff_hunk":"@@ -0,0 +1,26 @@\n+package ru.fizteh.fivt.students.valentine_lebedeva.filemap.Cmd;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+import java.util.Set;\n+\n+import ru.fizteh.fivt.students.valentine_lebedeva.filemap.DB;\n+\n+public class ListCmd implements Cmd {\n+    public final String getName() {\n+        return \"list\";\n+    }\n+    public final void execute(final DB dataBase, final String[] args) {\n+        if (args.length != 1) {\n+            throw new IllegalArgumentException(\n+                    \"Wrong number of arguments\");\n+        }\n+        List<String> out = new ArrayList<>(dataBase.getBase().size());\n+        Set<String> keys = dataBase.getBase().keySet();\n+        for (String key : keys) {\n+        out.add(key);\n+        }\n+        String joined = String.join(\", \", out);\n+        System.out.println(joined);","path":"src/ru/fizteh/fivt/students/valentine_lebedeva/filemap/Cmd/ListCmd.java","position":24,"original_position":24,"commit_id":"afda50574a21fc979ce411c2e4d28677e2013c73","original_commit_id":"afda50574a21fc979ce411c2e4d28677e2013c73","user":{"login":"vpavlenko","id":1491908,"avatar_url":"https://avatars.githubusercontent.com/u/1491908?v=2","gravatar_id":"","url":"https://api.github.com/users/vpavlenko","html_url":"https://github.com/vpavlenko","followers_url":"https://api.github.com/users/vpavlenko/followers","following_url":"https://api.github.com/users/vpavlenko/following{/other_user}","gists_url":"https://api.github.com/users/vpavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/vpavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpavlenko/subscriptions","organizations_url":"https://api.github.com/users/vpavlenko/orgs","repos_url":"https://api.github.com/users/vpavlenko/repos","events_url":"https://api.github.com/users/vpavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/vpavlenko/received_events","type":"User","site_admin":false},"body":"System.out.println(String.join(\", \", out));","created_at":"2014-10-13T12:56:52Z","updated_at":"2014-10-13T12:56:52Z","html_url":"https://github.com/dkomanov/fizteh-java-2014/pull/220#discussion_r18767583","pull_request_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220","_links":{"self":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/comments/18767583"},"html":{"href":"https://github.com/dkomanov/fizteh-java-2014/pull/220#discussion_r18767583"},"pull_request":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220"}}},"pull_request":{"url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220","id":22637561,"html_url":"https://github.com/dkomanov/fizteh-java-2014/pull/220","diff_url":"https://github.com/dkomanov/fizteh-java-2014/pull/220.diff","patch_url":"https://github.com/dkomanov/fizteh-java-2014/pull/220.patch","issue_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues/220","number":220,"state":"open","locked":false,"title":"Валентина Лебедева, 397, Filemap","user":{"login":"ValentineLebedeva","id":8996637,"avatar_url":"https://avatars.githubusercontent.com/u/8996637?v=2","gravatar_id":"","url":"https://api.github.com/users/ValentineLebedeva","html_url":"https://github.com/ValentineLebedeva","followers_url":"https://api.github.com/users/ValentineLebedeva/followers","following_url":"https://api.github.com/users/ValentineLebedeva/following{/other_user}","gists_url":"https://api.github.com/users/ValentineLebedeva/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentineLebedeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentineLebedeva/subscriptions","organizations_url":"https://api.github.com/users/ValentineLebedeva/orgs","repos_url":"https://api.github.com/users/ValentineLebedeva/repos","events_url":"https://api.github.com/users/ValentineLebedeva/events{/privacy}","received_events_url":"https://api.github.com/users/ValentineLebedeva/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-13T10:53:38Z","updated_at":"2014-10-13T12:56:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"909e08988824fb35044de57cf1683c8463202e64","assignee":{"login":"vpavlenko","id":1491908,"avatar_url":"https://avatars.githubusercontent.com/u/1491908?v=2","gravatar_id":"","url":"https://api.github.com/users/vpavlenko","html_url":"https://github.com/vpavlenko","followers_url":"https://api.github.com/users/vpavlenko/followers","following_url":"https://api.github.com/users/vpavlenko/following{/other_user}","gists_url":"https://api.github.com/users/vpavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/vpavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpavlenko/subscriptions","organizations_url":"https://api.github.com/users/vpavlenko/orgs","repos_url":"https://api.github.com/users/vpavlenko/repos","events_url":"https://api.github.com/users/vpavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/vpavlenko/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220/commits","review_comments_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220/comments","review_comment_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues/220/comments","statuses_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/statuses/afda50574a21fc979ce411c2e4d28677e2013c73","head":{"label":"ValentineLebedeva:master","ref":"master","sha":"afda50574a21fc979ce411c2e4d28677e2013c73","user":{"login":"ValentineLebedeva","id":8996637,"avatar_url":"https://avatars.githubusercontent.com/u/8996637?v=2","gravatar_id":"","url":"https://api.github.com/users/ValentineLebedeva","html_url":"https://github.com/ValentineLebedeva","followers_url":"https://api.github.com/users/ValentineLebedeva/followers","following_url":"https://api.github.com/users/ValentineLebedeva/following{/other_user}","gists_url":"https://api.github.com/users/ValentineLebedeva/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentineLebedeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentineLebedeva/subscriptions","organizations_url":"https://api.github.com/users/ValentineLebedeva/orgs","repos_url":"https://api.github.com/users/ValentineLebedeva/repos","events_url":"https://api.github.com/users/ValentineLebedeva/events{/privacy}","received_events_url":"https://api.github.com/users/ValentineLebedeva/received_events","type":"User","site_admin":false},"repo":{"id":24773559,"name":"fizteh-java-2014","full_name":"ValentineLebedeva/fizteh-java-2014","owner":{"login":"ValentineLebedeva","id":8996637,"avatar_url":"https://avatars.githubusercontent.com/u/8996637?v=2","gravatar_id":"","url":"https://api.github.com/users/ValentineLebedeva","html_url":"https://github.com/ValentineLebedeva","followers_url":"https://api.github.com/users/ValentineLebedeva/followers","following_url":"https://api.github.com/users/ValentineLebedeva/following{/other_user}","gists_url":"https://api.github.com/users/ValentineLebedeva/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentineLebedeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentineLebedeva/subscriptions","organizations_url":"https://api.github.com/users/ValentineLebedeva/orgs","repos_url":"https://api.github.com/users/ValentineLebedeva/repos","events_url":"https://api.github.com/users/ValentineLebedeva/events{/privacy}","received_events_url":"https://api.github.com/users/ValentineLebedeva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ValentineLebedeva/fizteh-java-2014","description":"","fork":true,"url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014","forks_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/forks","keys_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/teams","hooks_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/hooks","issue_events_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/issues/events{/number}","events_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/events","assignees_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/assignees{/user}","branches_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/branches{/branch}","tags_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/tags","blobs_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/git/refs{/sha}","trees_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/statuses/{sha}","languages_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/languages","stargazers_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/stargazers","contributors_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/contributors","subscribers_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/subscribers","subscription_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/subscription","commits_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/commits{/sha}","git_commits_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/git/commits{/sha}","comments_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/comments{/number}","issue_comment_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/issues/comments/{number}","contents_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/contents/{+path}","compare_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/merges","archive_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/downloads","issues_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/issues{/number}","pulls_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/pulls{/number}","milestones_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/milestones{/number}","notifications_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/labels{/name}","releases_url":"https://api.github.com/repos/ValentineLebedeva/fizteh-java-2014/releases{/id}","created_at":"2014-10-03T20:57:05Z","updated_at":"2014-10-03T21:07:16Z","pushed_at":"2014-10-13T10:52:33Z","git_url":"git://github.com/ValentineLebedeva/fizteh-java-2014.git","ssh_url":"git@github.com:ValentineLebedeva/fizteh-java-2014.git","clone_url":"https://github.com/ValentineLebedeva/fizteh-java-2014.git","svn_url":"https://github.com/ValentineLebedeva/fizteh-java-2014","homepage":null,"size":2368,"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":"dkomanov:master","ref":"master","sha":"8729ef69c33a8cde0d9f2acc4e877cc620c09c0d","user":{"login":"dkomanov","id":1158662,"avatar_url":"https://avatars.githubusercontent.com/u/1158662?v=2","gravatar_id":"","url":"https://api.github.com/users/dkomanov","html_url":"https://github.com/dkomanov","followers_url":"https://api.github.com/users/dkomanov/followers","following_url":"https://api.github.com/users/dkomanov/following{/other_user}","gists_url":"https://api.github.com/users/dkomanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkomanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkomanov/subscriptions","organizations_url":"https://api.github.com/users/dkomanov/orgs","repos_url":"https://api.github.com/users/dkomanov/repos","events_url":"https://api.github.com/users/dkomanov/events{/privacy}","received_events_url":"https://api.github.com/users/dkomanov/received_events","type":"User","site_admin":false},"repo":{"id":23866876,"name":"fizteh-java-2014","full_name":"dkomanov/fizteh-java-2014","owner":{"login":"dkomanov","id":1158662,"avatar_url":"https://avatars.githubusercontent.com/u/1158662?v=2","gravatar_id":"","url":"https://api.github.com/users/dkomanov","html_url":"https://github.com/dkomanov","followers_url":"https://api.github.com/users/dkomanov/followers","following_url":"https://api.github.com/users/dkomanov/following{/other_user}","gists_url":"https://api.github.com/users/dkomanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkomanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkomanov/subscriptions","organizations_url":"https://api.github.com/users/dkomanov/orgs","repos_url":"https://api.github.com/users/dkomanov/repos","events_url":"https://api.github.com/users/dkomanov/events{/privacy}","received_events_url":"https://api.github.com/users/dkomanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkomanov/fizteh-java-2014","description":"","fork":false,"url":"https://api.github.com/repos/dkomanov/fizteh-java-2014","forks_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/forks","keys_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/teams","hooks_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/hooks","issue_events_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues/events{/number}","events_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/events","assignees_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/assignees{/user}","branches_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/branches{/branch}","tags_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/tags","blobs_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/statuses/{sha}","languages_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/languages","stargazers_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/stargazers","contributors_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/contributors","subscribers_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/subscribers","subscription_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/subscription","commits_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues/comments/{number}","contents_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/contents/{+path}","compare_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/merges","archive_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/downloads","issues_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues{/number}","pulls_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls{/number}","milestones_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/milestones{/number}","notifications_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/labels{/name}","releases_url":"https://api.github.com/repos/dkomanov/fizteh-java-2014/releases{/id}","created_at":"2014-09-10T08:32:49Z","updated_at":"2014-10-12T13:40:52Z","pushed_at":"2014-10-13T12:40:12Z","git_url":"git://github.com/dkomanov/fizteh-java-2014.git","ssh_url":"git@github.com:dkomanov/fizteh-java-2014.git","clone_url":"https://github.com/dkomanov/fizteh-java-2014.git","svn_url":"https://github.com/dkomanov/fizteh-java-2014","homepage":null,"size":11550,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":58,"forks":85,"open_issues":58,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220"},"html":{"href":"https://github.com/dkomanov/fizteh-java-2014/pull/220"},"issue":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues/220"},"comments":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/dkomanov/fizteh-java-2014/statuses/afda50574a21fc979ce411c2e4d28677e2013c73"}}}}