{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/comments/63000575","id":63000575,"diff_hunk":"@@ -0,0 +1,17 @@\n+package reversecontent;\n+\n+import java.io.IOException;\n+\n+/**\n+ * Created by clouway on 10.05.16.\n+ */\n+public class Demo1 {\n+    public static void main(String[] args) throws IOException {\n+        java.io.File fileToRead = new java.io.File(\"files.txt\");\n+\n+        TextFile demo = new TextFile();\n+        int[] readBytes = demo.Reverse(fileToRead);","path":"input-output/src/reversecontent/Demo1.java","position":13,"original_position":13,"commit_id":"fe8b52c346b94cc7c3f4f5c05c66b853a5fc3085","original_commit_id":"fe8b52c346b94cc7c3f4f5c05c66b853a5fc3085","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":"It's unreasonable textFile to reverse another file. \r\n\r\nSometing like: \r\n```java\r\nTextFile usersDb = new TextFile(\"users.txt\");\r\nbyte[] content = usersDb.reversedContent(); // returns the reversed content of file. \r\n```\r\n\r\nis much more reasonable probably. ","created_at":"2016-05-12T10:50:55Z","updated_at":"2016-05-12T10:50:55Z","html_url":"https://github.com/clouway-incubator/input-output/pull/10#discussion_r63000575","pull_request_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/comments/63000575"},"html":{"href":"https://github.com/clouway-incubator/input-output/pull/10#discussion_r63000575"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10","id":69814254,"html_url":"https://github.com/clouway-incubator/input-output/pull/10","diff_url":"https://github.com/clouway-incubator/input-output/pull/10.diff","patch_url":"https://github.com/clouway-incubator/input-output/pull/10.patch","issue_url":"https://api.github.com/repos/clouway-incubator/input-output/issues/10","number":10,"state":"open","locked":false,"title":"First 3 tasks from Input/Output","user":{"login":"aleksandrhristov","id":15632581,"avatar_url":"https://avatars.githubusercontent.com/u/15632581?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandrhristov","html_url":"https://github.com/aleksandrhristov","followers_url":"https://api.github.com/users/aleksandrhristov/followers","following_url":"https://api.github.com/users/aleksandrhristov/following{/other_user}","gists_url":"https://api.github.com/users/aleksandrhristov/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandrhristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandrhristov/subscriptions","organizations_url":"https://api.github.com/users/aleksandrhristov/orgs","repos_url":"https://api.github.com/users/aleksandrhristov/repos","events_url":"https://api.github.com/users/aleksandrhristov/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandrhristov/received_events","type":"User","site_admin":false},"body":"Updated first 3 tasks ","created_at":"2016-05-12T10:36:49Z","updated_at":"2016-05-12T10:50:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bf23e537c3a1b6c4ed11fc3675b778369e81067","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10/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/10/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/input-output/statuses/fe8b52c346b94cc7c3f4f5c05c66b853a5fc3085","head":{"label":"aleksandrhristov:master","ref":"master","sha":"fe8b52c346b94cc7c3f4f5c05c66b853a5fc3085","user":{"login":"aleksandrhristov","id":15632581,"avatar_url":"https://avatars.githubusercontent.com/u/15632581?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandrhristov","html_url":"https://github.com/aleksandrhristov","followers_url":"https://api.github.com/users/aleksandrhristov/followers","following_url":"https://api.github.com/users/aleksandrhristov/following{/other_user}","gists_url":"https://api.github.com/users/aleksandrhristov/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandrhristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandrhristov/subscriptions","organizations_url":"https://api.github.com/users/aleksandrhristov/orgs","repos_url":"https://api.github.com/users/aleksandrhristov/repos","events_url":"https://api.github.com/users/aleksandrhristov/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandrhristov/received_events","type":"User","site_admin":false},"repo":{"id":58464737,"name":"input-output","full_name":"aleksandrhristov/input-output","owner":{"login":"aleksandrhristov","id":15632581,"avatar_url":"https://avatars.githubusercontent.com/u/15632581?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandrhristov","html_url":"https://github.com/aleksandrhristov","followers_url":"https://api.github.com/users/aleksandrhristov/followers","following_url":"https://api.github.com/users/aleksandrhristov/following{/other_user}","gists_url":"https://api.github.com/users/aleksandrhristov/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandrhristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandrhristov/subscriptions","organizations_url":"https://api.github.com/users/aleksandrhristov/orgs","repos_url":"https://api.github.com/users/aleksandrhristov/repos","events_url":"https://api.github.com/users/aleksandrhristov/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandrhristov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aleksandrhristov/input-output","description":"Input/Output","fork":true,"url":"https://api.github.com/repos/aleksandrhristov/input-output","forks_url":"https://api.github.com/repos/aleksandrhristov/input-output/forks","keys_url":"https://api.github.com/repos/aleksandrhristov/input-output/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleksandrhristov/input-output/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleksandrhristov/input-output/teams","hooks_url":"https://api.github.com/repos/aleksandrhristov/input-output/hooks","issue_events_url":"https://api.github.com/repos/aleksandrhristov/input-output/issues/events{/number}","events_url":"https://api.github.com/repos/aleksandrhristov/input-output/events","assignees_url":"https://api.github.com/repos/aleksandrhristov/input-output/assignees{/user}","branches_url":"https://api.github.com/repos/aleksandrhristov/input-output/branches{/branch}","tags_url":"https://api.github.com/repos/aleksandrhristov/input-output/tags","blobs_url":"https://api.github.com/repos/aleksandrhristov/input-output/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleksandrhristov/input-output/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleksandrhristov/input-output/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleksandrhristov/input-output/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleksandrhristov/input-output/statuses/{sha}","languages_url":"https://api.github.com/repos/aleksandrhristov/input-output/languages","stargazers_url":"https://api.github.com/repos/aleksandrhristov/input-output/stargazers","contributors_url":"https://api.github.com/repos/aleksandrhristov/input-output/contributors","subscribers_url":"https://api.github.com/repos/aleksandrhristov/input-output/subscribers","subscription_url":"https://api.github.com/repos/aleksandrhristov/input-output/subscription","commits_url":"https://api.github.com/repos/aleksandrhristov/input-output/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleksandrhristov/input-output/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleksandrhristov/input-output/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleksandrhristov/input-output/issues/comments{/number}","contents_url":"https://api.github.com/repos/aleksandrhristov/input-output/contents/{+path}","compare_url":"https://api.github.com/repos/aleksandrhristov/input-output/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleksandrhristov/input-output/merges","archive_url":"https://api.github.com/repos/aleksandrhristov/input-output/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleksandrhristov/input-output/downloads","issues_url":"https://api.github.com/repos/aleksandrhristov/input-output/issues{/number}","pulls_url":"https://api.github.com/repos/aleksandrhristov/input-output/pulls{/number}","milestones_url":"https://api.github.com/repos/aleksandrhristov/input-output/milestones{/number}","notifications_url":"https://api.github.com/repos/aleksandrhristov/input-output/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleksandrhristov/input-output/labels{/name}","releases_url":"https://api.github.com/repos/aleksandrhristov/input-output/releases{/id}","deployments_url":"https://api.github.com/repos/aleksandrhristov/input-output/deployments","created_at":"2016-05-10T13:44:17Z","updated_at":"2016-05-11T12:36:10Z","pushed_at":"2016-05-12T10:35:10Z","git_url":"git://github.com/aleksandrhristov/input-output.git","ssh_url":"git@github.com:aleksandrhristov/input-output.git","clone_url":"https://github.com/aleksandrhristov/input-output.git","svn_url":"https://github.com/aleksandrhristov/input-output","homepage":null,"size":17,"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:alexander_hristov","ref":"alexander_hristov","sha":"0f9478dea28f7202a9b2c9105d48f4d7f810c30b","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-04-13T13:27:51Z","pushed_at":"2016-05-12T10:49:19Z","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":813,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10"},"html":{"href":"https://github.com/clouway-incubator/input-output/pull/10"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/input-output/issues/10"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/input-output/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/input-output/pulls/10/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/10/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/input-output/statuses/fe8b52c346b94cc7c3f4f5c05c66b853a5fc3085"}}}}