{"action":"created","comment":{"url":"https://api.github.com/repos/teamed/nerodesk/pulls/comments/27780057","id":27780057,"diff_hunk":"@@ -83,16 +97,19 @@ public boolean leader() throws IOException {\n         assert this.dir != null;\n         assert this.user != null;\n         assert this.label != null;\n-        return Collections.emptyList();\n+        return Arrays.asList(this.friends.list());\n     }\n \n     @Override\n     public void add(final String name) throws IOException {\n-        // nothing\n+        assert Paths.get(this.friends.getAbsolutePath(), name).toFile()\n+            .createNewFile();\n     }\n \n     @Override\n     public void eject(final String name) throws IOException {","path":"src/main/java/com/nerodesk/om/mock/MkFriends.java","position":66,"original_position":66,"commit_id":"ca9560a096c6506cd2b5b07689f053a634c0e32f","original_commit_id":"ca9560a096c6506cd2b5b07689f053a634c0e32f","user":{"login":"alevohin","id":1502358,"avatar_url":"https://avatars.githubusercontent.com/u/1502358?v=3","gravatar_id":"","url":"https://api.github.com/users/alevohin","html_url":"https://github.com/alevohin","followers_url":"https://api.github.com/users/alevohin/followers","following_url":"https://api.github.com/users/alevohin/following{/other_user}","gists_url":"https://api.github.com/users/alevohin/gists{/gist_id}","starred_url":"https://api.github.com/users/alevohin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alevohin/subscriptions","organizations_url":"https://api.github.com/users/alevohin/orgs","repos_url":"https://api.github.com/users/alevohin/repos","events_url":"https://api.github.com/users/alevohin/events{/privacy}","received_events_url":"https://api.github.com/users/alevohin/received_events","type":"User","site_admin":false},"body":"@pinaf `throws IOException` could be removed","created_at":"2015-04-05T20:02:23Z","updated_at":"2015-04-05T20:02:23Z","html_url":"https://github.com/teamed/nerodesk/pull/183#discussion_r27780057","pull_request_url":"https://api.github.com/repos/teamed/nerodesk/pulls/183","_links":{"self":{"href":"https://api.github.com/repos/teamed/nerodesk/pulls/comments/27780057"},"html":{"href":"https://github.com/teamed/nerodesk/pull/183#discussion_r27780057"},"pull_request":{"href":"https://api.github.com/repos/teamed/nerodesk/pulls/183"}}},"pull_request":{"url":"https://api.github.com/repos/teamed/nerodesk/pulls/183","id":32628760,"html_url":"https://github.com/teamed/nerodesk/pull/183","diff_url":"https://github.com/teamed/nerodesk/pull/183.diff","patch_url":"https://github.com/teamed/nerodesk/pull/183.patch","issue_url":"https://api.github.com/repos/teamed/nerodesk/issues/183","number":183,"state":"open","locked":false,"title":"#173 TkAddFriendTest.java:52-56: We should add an assertion...","user":{"login":"pinaf","id":1054771,"avatar_url":"https://avatars.githubusercontent.com/u/1054771?v=3","gravatar_id":"","url":"https://api.github.com/users/pinaf","html_url":"https://github.com/pinaf","followers_url":"https://api.github.com/users/pinaf/followers","following_url":"https://api.github.com/users/pinaf/following{/other_user}","gists_url":"https://api.github.com/users/pinaf/gists{/gist_id}","starred_url":"https://api.github.com/users/pinaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinaf/subscriptions","organizations_url":"https://api.github.com/users/pinaf/orgs","repos_url":"https://api.github.com/users/pinaf/repos","events_url":"https://api.github.com/users/pinaf/events{/privacy}","received_events_url":"https://api.github.com/users/pinaf/received_events","type":"User","site_admin":false},"body":"For #173 \r\n- Added requested assertions.\r\n- Implemented `MkFriends` functionality, removed that puzzle and added one for unit tests.","created_at":"2015-04-04T04:25:21Z","updated_at":"2015-04-05T20:02:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d751b0383c6c53737131893a076fb787db8cee1","assignee":{"login":"alevohin","id":1502358,"avatar_url":"https://avatars.githubusercontent.com/u/1502358?v=3","gravatar_id":"","url":"https://api.github.com/users/alevohin","html_url":"https://github.com/alevohin","followers_url":"https://api.github.com/users/alevohin/followers","following_url":"https://api.github.com/users/alevohin/following{/other_user}","gists_url":"https://api.github.com/users/alevohin/gists{/gist_id}","starred_url":"https://api.github.com/users/alevohin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alevohin/subscriptions","organizations_url":"https://api.github.com/users/alevohin/orgs","repos_url":"https://api.github.com/users/alevohin/repos","events_url":"https://api.github.com/users/alevohin/events{/privacy}","received_events_url":"https://api.github.com/users/alevohin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/teamed/nerodesk/pulls/183/commits","review_comments_url":"https://api.github.com/repos/teamed/nerodesk/pulls/183/comments","review_comment_url":"https://api.github.com/repos/teamed/nerodesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamed/nerodesk/issues/183/comments","statuses_url":"https://api.github.com/repos/teamed/nerodesk/statuses/ca9560a096c6506cd2b5b07689f053a634c0e32f","head":{"label":"pinaf:173","ref":"173","sha":"ca9560a096c6506cd2b5b07689f053a634c0e32f","user":{"login":"pinaf","id":1054771,"avatar_url":"https://avatars.githubusercontent.com/u/1054771?v=3","gravatar_id":"","url":"https://api.github.com/users/pinaf","html_url":"https://github.com/pinaf","followers_url":"https://api.github.com/users/pinaf/followers","following_url":"https://api.github.com/users/pinaf/following{/other_user}","gists_url":"https://api.github.com/users/pinaf/gists{/gist_id}","starred_url":"https://api.github.com/users/pinaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinaf/subscriptions","organizations_url":"https://api.github.com/users/pinaf/orgs","repos_url":"https://api.github.com/users/pinaf/repos","events_url":"https://api.github.com/users/pinaf/events{/privacy}","received_events_url":"https://api.github.com/users/pinaf/received_events","type":"User","site_admin":false},"repo":{"id":31177689,"name":"nerodesk","full_name":"pinaf/nerodesk","owner":{"login":"pinaf","id":1054771,"avatar_url":"https://avatars.githubusercontent.com/u/1054771?v=3","gravatar_id":"","url":"https://api.github.com/users/pinaf","html_url":"https://github.com/pinaf","followers_url":"https://api.github.com/users/pinaf/followers","following_url":"https://api.github.com/users/pinaf/following{/other_user}","gists_url":"https://api.github.com/users/pinaf/gists{/gist_id}","starred_url":"https://api.github.com/users/pinaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinaf/subscriptions","organizations_url":"https://api.github.com/users/pinaf/orgs","repos_url":"https://api.github.com/users/pinaf/repos","events_url":"https://api.github.com/users/pinaf/events{/privacy}","received_events_url":"https://api.github.com/users/pinaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pinaf/nerodesk","description":"cloud file sharing service","fork":true,"url":"https://api.github.com/repos/pinaf/nerodesk","forks_url":"https://api.github.com/repos/pinaf/nerodesk/forks","keys_url":"https://api.github.com/repos/pinaf/nerodesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pinaf/nerodesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pinaf/nerodesk/teams","hooks_url":"https://api.github.com/repos/pinaf/nerodesk/hooks","issue_events_url":"https://api.github.com/repos/pinaf/nerodesk/issues/events{/number}","events_url":"https://api.github.com/repos/pinaf/nerodesk/events","assignees_url":"https://api.github.com/repos/pinaf/nerodesk/assignees{/user}","branches_url":"https://api.github.com/repos/pinaf/nerodesk/branches{/branch}","tags_url":"https://api.github.com/repos/pinaf/nerodesk/tags","blobs_url":"https://api.github.com/repos/pinaf/nerodesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pinaf/nerodesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pinaf/nerodesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pinaf/nerodesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pinaf/nerodesk/statuses/{sha}","languages_url":"https://api.github.com/repos/pinaf/nerodesk/languages","stargazers_url":"https://api.github.com/repos/pinaf/nerodesk/stargazers","contributors_url":"https://api.github.com/repos/pinaf/nerodesk/contributors","subscribers_url":"https://api.github.com/repos/pinaf/nerodesk/subscribers","subscription_url":"https://api.github.com/repos/pinaf/nerodesk/subscription","commits_url":"https://api.github.com/repos/pinaf/nerodesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pinaf/nerodesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pinaf/nerodesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pinaf/nerodesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pinaf/nerodesk/contents/{+path}","compare_url":"https://api.github.com/repos/pinaf/nerodesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pinaf/nerodesk/merges","archive_url":"https://api.github.com/repos/pinaf/nerodesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pinaf/nerodesk/downloads","issues_url":"https://api.github.com/repos/pinaf/nerodesk/issues{/number}","pulls_url":"https://api.github.com/repos/pinaf/nerodesk/pulls{/number}","milestones_url":"https://api.github.com/repos/pinaf/nerodesk/milestones{/number}","notifications_url":"https://api.github.com/repos/pinaf/nerodesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pinaf/nerodesk/labels{/name}","releases_url":"https://api.github.com/repos/pinaf/nerodesk/releases{/id}","created_at":"2015-02-22T20:00:08Z","updated_at":"2015-02-22T20:00:08Z","pushed_at":"2015-04-04T23:37:15Z","git_url":"git://github.com/pinaf/nerodesk.git","ssh_url":"git@github.com:pinaf/nerodesk.git","clone_url":"https://github.com/pinaf/nerodesk.git","svn_url":"https://github.com/pinaf/nerodesk","homepage":"http://www.nerodesk.com","size":602,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"teamed:master","ref":"master","sha":"7ec07fcd67576ba2ea14e048bbb0cd108c3e6b58","user":{"login":"teamed","id":7436563,"avatar_url":"https://avatars.githubusercontent.com/u/7436563?v=3","gravatar_id":"","url":"https://api.github.com/users/teamed","html_url":"https://github.com/teamed","followers_url":"https://api.github.com/users/teamed/followers","following_url":"https://api.github.com/users/teamed/following{/other_user}","gists_url":"https://api.github.com/users/teamed/gists{/gist_id}","starred_url":"https://api.github.com/users/teamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamed/subscriptions","organizations_url":"https://api.github.com/users/teamed/orgs","repos_url":"https://api.github.com/users/teamed/repos","events_url":"https://api.github.com/users/teamed/events{/privacy}","received_events_url":"https://api.github.com/users/teamed/received_events","type":"Organization","site_admin":false},"repo":{"id":30859333,"name":"nerodesk","full_name":"teamed/nerodesk","owner":{"login":"teamed","id":7436563,"avatar_url":"https://avatars.githubusercontent.com/u/7436563?v=3","gravatar_id":"","url":"https://api.github.com/users/teamed","html_url":"https://github.com/teamed","followers_url":"https://api.github.com/users/teamed/followers","following_url":"https://api.github.com/users/teamed/following{/other_user}","gists_url":"https://api.github.com/users/teamed/gists{/gist_id}","starred_url":"https://api.github.com/users/teamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamed/subscriptions","organizations_url":"https://api.github.com/users/teamed/orgs","repos_url":"https://api.github.com/users/teamed/repos","events_url":"https://api.github.com/users/teamed/events{/privacy}","received_events_url":"https://api.github.com/users/teamed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamed/nerodesk","description":"cloud file sharing service","fork":false,"url":"https://api.github.com/repos/teamed/nerodesk","forks_url":"https://api.github.com/repos/teamed/nerodesk/forks","keys_url":"https://api.github.com/repos/teamed/nerodesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamed/nerodesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamed/nerodesk/teams","hooks_url":"https://api.github.com/repos/teamed/nerodesk/hooks","issue_events_url":"https://api.github.com/repos/teamed/nerodesk/issues/events{/number}","events_url":"https://api.github.com/repos/teamed/nerodesk/events","assignees_url":"https://api.github.com/repos/teamed/nerodesk/assignees{/user}","branches_url":"https://api.github.com/repos/teamed/nerodesk/branches{/branch}","tags_url":"https://api.github.com/repos/teamed/nerodesk/tags","blobs_url":"https://api.github.com/repos/teamed/nerodesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamed/nerodesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamed/nerodesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamed/nerodesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamed/nerodesk/statuses/{sha}","languages_url":"https://api.github.com/repos/teamed/nerodesk/languages","stargazers_url":"https://api.github.com/repos/teamed/nerodesk/stargazers","contributors_url":"https://api.github.com/repos/teamed/nerodesk/contributors","subscribers_url":"https://api.github.com/repos/teamed/nerodesk/subscribers","subscription_url":"https://api.github.com/repos/teamed/nerodesk/subscription","commits_url":"https://api.github.com/repos/teamed/nerodesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamed/nerodesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamed/nerodesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamed/nerodesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamed/nerodesk/contents/{+path}","compare_url":"https://api.github.com/repos/teamed/nerodesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamed/nerodesk/merges","archive_url":"https://api.github.com/repos/teamed/nerodesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamed/nerodesk/downloads","issues_url":"https://api.github.com/repos/teamed/nerodesk/issues{/number}","pulls_url":"https://api.github.com/repos/teamed/nerodesk/pulls{/number}","milestones_url":"https://api.github.com/repos/teamed/nerodesk/milestones{/number}","notifications_url":"https://api.github.com/repos/teamed/nerodesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamed/nerodesk/labels{/name}","releases_url":"https://api.github.com/repos/teamed/nerodesk/releases{/id}","created_at":"2015-02-16T08:15:02Z","updated_at":"2015-04-05T17:55:30Z","pushed_at":"2015-04-05T17:55:29Z","git_url":"git://github.com/teamed/nerodesk.git","ssh_url":"git@github.com:teamed/nerodesk.git","clone_url":"https://github.com/teamed/nerodesk.git","svn_url":"https://github.com/teamed/nerodesk","homepage":"http://www.nerodesk.com","size":2936,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":42,"forks":10,"open_issues":42,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamed/nerodesk/pulls/183"},"html":{"href":"https://github.com/teamed/nerodesk/pull/183"},"issue":{"href":"https://api.github.com/repos/teamed/nerodesk/issues/183"},"comments":{"href":"https://api.github.com/repos/teamed/nerodesk/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/teamed/nerodesk/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/teamed/nerodesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamed/nerodesk/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/teamed/nerodesk/statuses/ca9560a096c6506cd2b5b07689f053a634c0e32f"}}}}