{"action":"created","comment":{"url":"https://api.github.com/repos/Vovan707/Array-project/pulls/comments/24032352","id":24032352,"diff_hunk":"@@ -7,28 +7,32 @@\n \n public class Print {\n \n-\tstatic File file = new File(\"f2.txt\");\n-\tstatic ArrayList<String> arrayList = new ArrayList<String>();\n-\n-\tpublic static void println(String string) {\n-\t\tarrayList.add(string);\n-\t\ttry {\n-\t\t\tOutputStream outputStream = new FileOutputStream(file);\n-\t\t\tfor (int i = 0; i < arrayList.size(); i++) {\n-\t\t\t\toutputStream.write(arrayList.get(i).getBytes());\n+\tstatic File file =null;//new File(\"f2.txt\");","path":"Print.java","position":13,"original_position":13,"commit_id":"86db30e5d4eddae0053ebcf865e0bb3607704a82","original_commit_id":"86db30e5d4eddae0053ebcf865e0bb3607704a82","user":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"body":"@sergeyradkevich OK, I think about name for future branch.\r\nd'oh..( sorry, I forgot clear code from coments, must was next :\" static File file = new File(\"f2.txt\");\" I write test, and use how program work from exeption, and on the test I was you see how I use @Test(exeption=FileNotFoundExeption.class), becouse created in class \"new FileNotFoundExeption\" ","created_at":"2015-02-03T19:38:05Z","updated_at":"2015-02-03T19:38:05Z","html_url":"https://github.com/Vovan707/Array-project/pull/2#discussion_r24032352","pull_request_url":"https://api.github.com/repos/Vovan707/Array-project/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Vovan707/Array-project/pulls/comments/24032352"},"html":{"href":"https://github.com/Vovan707/Array-project/pull/2#discussion_r24032352"},"pull_request":{"href":"https://api.github.com/repos/Vovan707/Array-project/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Vovan707/Array-project/pulls/2","id":28503360,"html_url":"https://github.com/Vovan707/Array-project/pull/2","diff_url":"https://github.com/Vovan707/Array-project/pull/2.diff","patch_url":"https://github.com/Vovan707/Array-project/pull/2.patch","issue_url":"https://api.github.com/repos/Vovan707/Array-project/issues/2","number":2,"state":"open","locked":false,"title":"New branch for add","user":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"body":" @sergeyradkevich Please review.","created_at":"2015-02-02T21:16:31Z","updated_at":"2015-02-03T19:38:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bdeb07c71383ccda6c6e043eff2d2811d41cde0","assignee":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Vovan707/Array-project/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Vovan707/Array-project/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Vovan707/Array-project/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Vovan707/Array-project/issues/2/comments","statuses_url":"https://api.github.com/repos/Vovan707/Array-project/statuses/86db30e5d4eddae0053ebcf865e0bb3607704a82","head":{"label":"Vovan707:new-branch-for-add","ref":"new-branch-for-add","sha":"86db30e5d4eddae0053ebcf865e0bb3607704a82","user":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"repo":{"id":29826511,"name":"Array-project","full_name":"Vovan707/Array-project","owner":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vovan707/Array-project","description":"","fork":false,"url":"https://api.github.com/repos/Vovan707/Array-project","forks_url":"https://api.github.com/repos/Vovan707/Array-project/forks","keys_url":"https://api.github.com/repos/Vovan707/Array-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vovan707/Array-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vovan707/Array-project/teams","hooks_url":"https://api.github.com/repos/Vovan707/Array-project/hooks","issue_events_url":"https://api.github.com/repos/Vovan707/Array-project/issues/events{/number}","events_url":"https://api.github.com/repos/Vovan707/Array-project/events","assignees_url":"https://api.github.com/repos/Vovan707/Array-project/assignees{/user}","branches_url":"https://api.github.com/repos/Vovan707/Array-project/branches{/branch}","tags_url":"https://api.github.com/repos/Vovan707/Array-project/tags","blobs_url":"https://api.github.com/repos/Vovan707/Array-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vovan707/Array-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vovan707/Array-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vovan707/Array-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vovan707/Array-project/statuses/{sha}","languages_url":"https://api.github.com/repos/Vovan707/Array-project/languages","stargazers_url":"https://api.github.com/repos/Vovan707/Array-project/stargazers","contributors_url":"https://api.github.com/repos/Vovan707/Array-project/contributors","subscribers_url":"https://api.github.com/repos/Vovan707/Array-project/subscribers","subscription_url":"https://api.github.com/repos/Vovan707/Array-project/subscription","commits_url":"https://api.github.com/repos/Vovan707/Array-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vovan707/Array-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vovan707/Array-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vovan707/Array-project/issues/comments/{number}","contents_url":"https://api.github.com/repos/Vovan707/Array-project/contents/{+path}","compare_url":"https://api.github.com/repos/Vovan707/Array-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vovan707/Array-project/merges","archive_url":"https://api.github.com/repos/Vovan707/Array-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vovan707/Array-project/downloads","issues_url":"https://api.github.com/repos/Vovan707/Array-project/issues{/number}","pulls_url":"https://api.github.com/repos/Vovan707/Array-project/pulls{/number}","milestones_url":"https://api.github.com/repos/Vovan707/Array-project/milestones{/number}","notifications_url":"https://api.github.com/repos/Vovan707/Array-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vovan707/Array-project/labels{/name}","releases_url":"https://api.github.com/repos/Vovan707/Array-project/releases{/id}","created_at":"2015-01-25T19:04:41Z","updated_at":"2015-02-02T21:09:17Z","pushed_at":"2015-02-02T21:16:05Z","git_url":"git://github.com/Vovan707/Array-project.git","ssh_url":"git@github.com:Vovan707/Array-project.git","clone_url":"https://github.com/Vovan707/Array-project.git","svn_url":"https://github.com/Vovan707/Array-project","homepage":null,"size":192,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Vovan707:master","ref":"master","sha":"d0eff3d2a4c13056a6eff17123d80199f2979423","user":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"repo":{"id":29826511,"name":"Array-project","full_name":"Vovan707/Array-project","owner":{"login":"Vovan707","id":10440254,"avatar_url":"https://avatars.githubusercontent.com/u/10440254?v=3","gravatar_id":"","url":"https://api.github.com/users/Vovan707","html_url":"https://github.com/Vovan707","followers_url":"https://api.github.com/users/Vovan707/followers","following_url":"https://api.github.com/users/Vovan707/following{/other_user}","gists_url":"https://api.github.com/users/Vovan707/gists{/gist_id}","starred_url":"https://api.github.com/users/Vovan707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vovan707/subscriptions","organizations_url":"https://api.github.com/users/Vovan707/orgs","repos_url":"https://api.github.com/users/Vovan707/repos","events_url":"https://api.github.com/users/Vovan707/events{/privacy}","received_events_url":"https://api.github.com/users/Vovan707/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vovan707/Array-project","description":"","fork":false,"url":"https://api.github.com/repos/Vovan707/Array-project","forks_url":"https://api.github.com/repos/Vovan707/Array-project/forks","keys_url":"https://api.github.com/repos/Vovan707/Array-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vovan707/Array-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vovan707/Array-project/teams","hooks_url":"https://api.github.com/repos/Vovan707/Array-project/hooks","issue_events_url":"https://api.github.com/repos/Vovan707/Array-project/issues/events{/number}","events_url":"https://api.github.com/repos/Vovan707/Array-project/events","assignees_url":"https://api.github.com/repos/Vovan707/Array-project/assignees{/user}","branches_url":"https://api.github.com/repos/Vovan707/Array-project/branches{/branch}","tags_url":"https://api.github.com/repos/Vovan707/Array-project/tags","blobs_url":"https://api.github.com/repos/Vovan707/Array-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vovan707/Array-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vovan707/Array-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vovan707/Array-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vovan707/Array-project/statuses/{sha}","languages_url":"https://api.github.com/repos/Vovan707/Array-project/languages","stargazers_url":"https://api.github.com/repos/Vovan707/Array-project/stargazers","contributors_url":"https://api.github.com/repos/Vovan707/Array-project/contributors","subscribers_url":"https://api.github.com/repos/Vovan707/Array-project/subscribers","subscription_url":"https://api.github.com/repos/Vovan707/Array-project/subscription","commits_url":"https://api.github.com/repos/Vovan707/Array-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vovan707/Array-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vovan707/Array-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vovan707/Array-project/issues/comments/{number}","contents_url":"https://api.github.com/repos/Vovan707/Array-project/contents/{+path}","compare_url":"https://api.github.com/repos/Vovan707/Array-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vovan707/Array-project/merges","archive_url":"https://api.github.com/repos/Vovan707/Array-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vovan707/Array-project/downloads","issues_url":"https://api.github.com/repos/Vovan707/Array-project/issues{/number}","pulls_url":"https://api.github.com/repos/Vovan707/Array-project/pulls{/number}","milestones_url":"https://api.github.com/repos/Vovan707/Array-project/milestones{/number}","notifications_url":"https://api.github.com/repos/Vovan707/Array-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vovan707/Array-project/labels{/name}","releases_url":"https://api.github.com/repos/Vovan707/Array-project/releases{/id}","created_at":"2015-01-25T19:04:41Z","updated_at":"2015-02-02T21:09:17Z","pushed_at":"2015-02-02T21:16:05Z","git_url":"git://github.com/Vovan707/Array-project.git","ssh_url":"git@github.com:Vovan707/Array-project.git","clone_url":"https://github.com/Vovan707/Array-project.git","svn_url":"https://github.com/Vovan707/Array-project","homepage":null,"size":192,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vovan707/Array-project/pulls/2"},"html":{"href":"https://github.com/Vovan707/Array-project/pull/2"},"issue":{"href":"https://api.github.com/repos/Vovan707/Array-project/issues/2"},"comments":{"href":"https://api.github.com/repos/Vovan707/Array-project/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Vovan707/Array-project/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Vovan707/Array-project/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Vovan707/Array-project/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Vovan707/Array-project/statuses/86db30e5d4eddae0053ebcf865e0bb3607704a82"}}}}