{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/comments/66594900","id":66594900,"diff_hunk":"@@ -0,0 +1,38 @@\n+package com.clouway.io.task3;\n+\n+import java.io.*;\n+import java.util.ArrayList;\n+import java.util.Scanner;\n+\n+public class TextFile {\n+\n+    public String reverseFile(String fileName) throws IOException {","path":"src/com/clouway/io/task3/TextFile.java","position":9,"original_position":9,"commit_id":"9bbb1917caf505060acde4653a2bc37711eb035d","original_commit_id":"9bbb1917caf505060acde4653a2bc37711eb035d","user":{"login":"mgenov","id":209223,"avatar_url":"https://avatars.githubusercontent.com/u/209223?v=3","gravatar_id":"","url":"https://api.github.com/users/mgenov","html_url":"https://github.com/mgenov","followers_url":"https://api.github.com/users/mgenov/followers","following_url":"https://api.github.com/users/mgenov/following{/other_user}","gists_url":"https://api.github.com/users/mgenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgenov/subscriptions","organizations_url":"https://api.github.com/users/mgenov/orgs","repos_url":"https://api.github.com/users/mgenov/repos","events_url":"https://api.github.com/users/mgenov/events{/privacy}","received_events_url":"https://api.github.com/users/mgenov/received_events","type":"User","site_admin":false},"body":"The signature of this method is bad cause TextFile represents single file but reverseFile could reverse many files which is misleading. \r\n```java\r\nnew TextFile(\"names.txt\").reverse(); \r\n// or\r\nnew TextFilesApi().reverseFile(\"names.txt\"); \r\n```","created_at":"2016-06-10T10:46:52Z","updated_at":"2016-06-10T10:46:52Z","html_url":"https://github.com/clouway-incubator/input-output/pull/37#discussion_r66594900","pull_request_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/comments/66594900"},"html":{"href":"https://github.com/clouway-incubator/input-output/pull/37#discussion_r66594900"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37","id":73255247,"html_url":"https://github.com/clouway-incubator/input-output/pull/37","diff_url":"https://github.com/clouway-incubator/input-output/pull/37.diff","patch_url":"https://github.com/clouway-incubator/input-output/pull/37.patch","issue_url":"https://api.github.com/repos/clouway-incubator/input-output/issues/37","number":37,"state":"open","locked":false,"title":"I/O chapter","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"body":"All tasks are ready for review!","created_at":"2016-06-09T17:38:43Z","updated_at":"2016-06-10T10:46:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2db43efd8e2a9cd81270007227a9643018d62f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/input-output/issues/37/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/input-output/statuses/9bbb1917caf505060acde4653a2bc37711eb035d","head":{"label":"gadjevb:master","ref":"master","sha":"9bbb1917caf505060acde4653a2bc37711eb035d","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"repo":{"id":60793270,"name":"input-output","full_name":"gadjevb/input-output","owner":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gadjevb/input-output","description":"Input/Output","fork":true,"url":"https://api.github.com/repos/gadjevb/input-output","forks_url":"https://api.github.com/repos/gadjevb/input-output/forks","keys_url":"https://api.github.com/repos/gadjevb/input-output/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gadjevb/input-output/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gadjevb/input-output/teams","hooks_url":"https://api.github.com/repos/gadjevb/input-output/hooks","issue_events_url":"https://api.github.com/repos/gadjevb/input-output/issues/events{/number}","events_url":"https://api.github.com/repos/gadjevb/input-output/events","assignees_url":"https://api.github.com/repos/gadjevb/input-output/assignees{/user}","branches_url":"https://api.github.com/repos/gadjevb/input-output/branches{/branch}","tags_url":"https://api.github.com/repos/gadjevb/input-output/tags","blobs_url":"https://api.github.com/repos/gadjevb/input-output/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gadjevb/input-output/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gadjevb/input-output/git/refs{/sha}","trees_url":"https://api.github.com/repos/gadjevb/input-output/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gadjevb/input-output/statuses/{sha}","languages_url":"https://api.github.com/repos/gadjevb/input-output/languages","stargazers_url":"https://api.github.com/repos/gadjevb/input-output/stargazers","contributors_url":"https://api.github.com/repos/gadjevb/input-output/contributors","subscribers_url":"https://api.github.com/repos/gadjevb/input-output/subscribers","subscription_url":"https://api.github.com/repos/gadjevb/input-output/subscription","commits_url":"https://api.github.com/repos/gadjevb/input-output/commits{/sha}","git_commits_url":"https://api.github.com/repos/gadjevb/input-output/git/commits{/sha}","comments_url":"https://api.github.com/repos/gadjevb/input-output/comments{/number}","issue_comment_url":"https://api.github.com/repos/gadjevb/input-output/issues/comments{/number}","contents_url":"https://api.github.com/repos/gadjevb/input-output/contents/{+path}","compare_url":"https://api.github.com/repos/gadjevb/input-output/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gadjevb/input-output/merges","archive_url":"https://api.github.com/repos/gadjevb/input-output/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gadjevb/input-output/downloads","issues_url":"https://api.github.com/repos/gadjevb/input-output/issues{/number}","pulls_url":"https://api.github.com/repos/gadjevb/input-output/pulls{/number}","milestones_url":"https://api.github.com/repos/gadjevb/input-output/milestones{/number}","notifications_url":"https://api.github.com/repos/gadjevb/input-output/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gadjevb/input-output/labels{/name}","releases_url":"https://api.github.com/repos/gadjevb/input-output/releases{/id}","deployments_url":"https://api.github.com/repos/gadjevb/input-output/deployments","created_at":"2016-06-09T17:24:35Z","updated_at":"2016-06-09T17:34:04Z","pushed_at":"2016-06-10T10:28:41Z","git_url":"git://github.com/gadjevb/input-output.git","ssh_url":"git@github.com:gadjevb/input-output.git","clone_url":"https://github.com/gadjevb/input-output.git","svn_url":"https://github.com/gadjevb/input-output","homepage":null,"size":102,"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":"clouway-incubator:gadjevb","ref":"gadjevb","sha":"5e7fa6491435835ac9f4882cde53bd7c128d798a","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":56154133,"name":"input-output","full_name":"clouway-incubator/input-output","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/input-output","description":"Input/Output","fork":false,"url":"https://api.github.com/repos/clouway-incubator/input-output","forks_url":"https://api.github.com/repos/clouway-incubator/input-output/forks","keys_url":"https://api.github.com/repos/clouway-incubator/input-output/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/input-output/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/input-output/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/input-output/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/input-output/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/input-output/events","assignees_url":"https://api.github.com/repos/clouway-incubator/input-output/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/input-output/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/input-output/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/input-output/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/input-output/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/input-output/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/input-output/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/input-output/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/input-output/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/input-output/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/input-output/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/input-output/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/input-output/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/input-output/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/input-output/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/input-output/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/input-output/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/input-output/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/input-output/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/input-output/merges","archive_url":"https://api.github.com/repos/clouway-incubator/input-output/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/input-output/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/input-output/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/input-output/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/input-output/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/input-output/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/input-output/releases{/id}","deployments_url":"https://api.github.com/repos/clouway-incubator/input-output/deployments","created_at":"2016-04-13T13:27:51Z","updated_at":"2016-06-09T08:12:17Z","pushed_at":"2016-06-10T10:28:41Z","git_url":"git://github.com/clouway-incubator/input-output.git","ssh_url":"git@github.com:clouway-incubator/input-output.git","clone_url":"https://github.com/clouway-incubator/input-output.git","svn_url":"https://github.com/clouway-incubator/input-output","homepage":null,"size":960,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37"},"html":{"href":"https://github.com/clouway-incubator/input-output/pull/37"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/input-output/issues/37"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/input-output/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/input-output/statuses/9bbb1917caf505060acde4653a2bc37711eb035d"}}}}
{"actor":{"display_login":"mgenov"}}