{"action":"created","comment":{"url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/comments/202057420","pull_request_review_id":136678729,"id":202057420,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjA1NzQyMA==","diff_hunk":"@@ -0,0 +1,32 @@\n+import java.io.*;\n+import java.util.ArrayList;\n+import java.util.Vector;\n+\n+public class FileMerger {\n+\n+    ArrayList<InputStream> al = new ArrayList<>();\n+\n+    public FileMerger(String file1, String file2, String file3, String file4, String file5) throws FileNotFoundException {\n+\n+        al.add(new FileInputStream(new File(file1)));\n+        al.add(new FileInputStream(new File(file2)));\n+        al.add(new FileInputStream(new File(file3)));\n+        al.add(new FileInputStream(new File(file4)));\n+        al.add(new FileInputStream(new File(file5)));\n+        // e = Collections.enumeration(al);","path":"src/main/java/FileMerger.java","position":16,"original_position":16,"commit_id":"e30fb19e308376e98dbc13167c3d12ffd9421aa2","original_commit_id":"e30fb19e308376e98dbc13167c3d12ffd9421aa2","user":{"login":"batiaev","id":3200006,"node_id":"MDQ6VXNlcjMyMDAwMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3200006?v=4","gravatar_id":"","url":"https://api.github.com/users/batiaev","html_url":"https://github.com/batiaev","followers_url":"https://api.github.com/users/batiaev/followers","following_url":"https://api.github.com/users/batiaev/following{/other_user}","gists_url":"https://api.github.com/users/batiaev/gists{/gist_id}","starred_url":"https://api.github.com/users/batiaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batiaev/subscriptions","organizations_url":"https://api.github.com/users/batiaev/orgs","repos_url":"https://api.github.com/users/batiaev/repos","events_url":"https://api.github.com/users/batiaev/events{/privacy}","received_events_url":"https://api.github.com/users/batiaev/received_events","type":"User","site_admin":false},"body":"Стоило оставить и применять для передачи в SequenceInputStream\r\n","created_at":"2018-07-12T14:33:11Z","updated_at":"2018-07-12T14:43:53Z","html_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional/pull/4#discussion_r202057420","pull_request_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/comments/202057420"},"html":{"href":"https://github.com/ZhulkovNikolay/GbJavaProfessional/pull/4#discussion_r202057420"},"pull_request":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4","id":200949137,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwOTQ5MTM3","html_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional/pull/4","diff_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional/pull/4.diff","patch_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional/pull/4.patch","issue_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/4","number":4,"state":"open","locked":false,"title":"lesson3","user":{"login":"ZhulkovNikolay","id":12703647,"node_id":"MDQ6VXNlcjEyNzAzNjQ3","avatar_url":"https://avatars0.githubusercontent.com/u/12703647?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhulkovNikolay","html_url":"https://github.com/ZhulkovNikolay","followers_url":"https://api.github.com/users/ZhulkovNikolay/followers","following_url":"https://api.github.com/users/ZhulkovNikolay/following{/other_user}","gists_url":"https://api.github.com/users/ZhulkovNikolay/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhulkovNikolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhulkovNikolay/subscriptions","organizations_url":"https://api.github.com/users/ZhulkovNikolay/orgs","repos_url":"https://api.github.com/users/ZhulkovNikolay/repos","events_url":"https://api.github.com/users/ZhulkovNikolay/events{/privacy}","received_events_url":"https://api.github.com/users/ZhulkovNikolay/received_events","type":"User","site_admin":false},"body":" -Файла на 10мб для теста не нашел\r\n- Не нашел как сделать конструктор с переменным количеством входных пара метров (гуглятся только методы). Поэтому написал конструктор с 5 входными параметрами.\r\n- Зачем где и как применять здесь Enumeration<InputStream> e; ? Сделал через Вектор...\r\n- В 3 задании для скорости очевидно нужно использовать BufferedReader(); Но как туда передать ограничение на 1800 символов не знаю. Нашел только как построчно выводить либо полным куском. ","created_at":"2018-07-12T10:01:00Z","updated_at":"2018-07-12T14:43:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19424e7de2fbb0fdcd5085184c2ea07ebef96fe2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/4/comments","statuses_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/statuses/e30fb19e308376e98dbc13167c3d12ffd9421aa2","head":{"label":"ZhulkovNikolay:lesson3","ref":"lesson3","sha":"e30fb19e308376e98dbc13167c3d12ffd9421aa2","user":{"login":"ZhulkovNikolay","id":12703647,"node_id":"MDQ6VXNlcjEyNzAzNjQ3","avatar_url":"https://avatars0.githubusercontent.com/u/12703647?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhulkovNikolay","html_url":"https://github.com/ZhulkovNikolay","followers_url":"https://api.github.com/users/ZhulkovNikolay/followers","following_url":"https://api.github.com/users/ZhulkovNikolay/following{/other_user}","gists_url":"https://api.github.com/users/ZhulkovNikolay/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhulkovNikolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhulkovNikolay/subscriptions","organizations_url":"https://api.github.com/users/ZhulkovNikolay/orgs","repos_url":"https://api.github.com/users/ZhulkovNikolay/repos","events_url":"https://api.github.com/users/ZhulkovNikolay/events{/privacy}","received_events_url":"https://api.github.com/users/ZhulkovNikolay/received_events","type":"User","site_admin":false},"repo":{"id":139800921,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4MDA5MjE=","name":"GbJavaProfessional","full_name":"ZhulkovNikolay/GbJavaProfessional","owner":{"login":"ZhulkovNikolay","id":12703647,"node_id":"MDQ6VXNlcjEyNzAzNjQ3","avatar_url":"https://avatars0.githubusercontent.com/u/12703647?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhulkovNikolay","html_url":"https://github.com/ZhulkovNikolay","followers_url":"https://api.github.com/users/ZhulkovNikolay/followers","following_url":"https://api.github.com/users/ZhulkovNikolay/following{/other_user}","gists_url":"https://api.github.com/users/ZhulkovNikolay/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhulkovNikolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhulkovNikolay/subscriptions","organizations_url":"https://api.github.com/users/ZhulkovNikolay/orgs","repos_url":"https://api.github.com/users/ZhulkovNikolay/repos","events_url":"https://api.github.com/users/ZhulkovNikolay/events{/privacy}","received_events_url":"https://api.github.com/users/ZhulkovNikolay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional","description":"GbJavaProfessional","fork":false,"url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional","forks_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/forks","keys_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/teams","hooks_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/hooks","issue_events_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/events{/number}","events_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/events","assignees_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/assignees{/user}","branches_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/branches{/branch}","tags_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/tags","blobs_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/statuses/{sha}","languages_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/languages","stargazers_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/stargazers","contributors_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/contributors","subscribers_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/subscribers","subscription_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/subscription","commits_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/contents/{+path}","compare_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/merges","archive_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/downloads","issues_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues{/number}","pulls_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls{/number}","milestones_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/milestones{/number}","notifications_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/labels{/name}","releases_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/releases{/id}","deployments_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/deployments","created_at":"2018-07-05T05:53:17Z","updated_at":"2018-07-05T05:55:57Z","pushed_at":"2018-07-12T10:01:00Z","git_url":"git://github.com/ZhulkovNikolay/GbJavaProfessional.git","ssh_url":"git@github.com:ZhulkovNikolay/GbJavaProfessional.git","clone_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional.git","svn_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"ZhulkovNikolay:master","ref":"master","sha":"32fd85a94a3df3b2700fe9b8b2d59ba08ec83477","user":{"login":"ZhulkovNikolay","id":12703647,"node_id":"MDQ6VXNlcjEyNzAzNjQ3","avatar_url":"https://avatars0.githubusercontent.com/u/12703647?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhulkovNikolay","html_url":"https://github.com/ZhulkovNikolay","followers_url":"https://api.github.com/users/ZhulkovNikolay/followers","following_url":"https://api.github.com/users/ZhulkovNikolay/following{/other_user}","gists_url":"https://api.github.com/users/ZhulkovNikolay/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhulkovNikolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhulkovNikolay/subscriptions","organizations_url":"https://api.github.com/users/ZhulkovNikolay/orgs","repos_url":"https://api.github.com/users/ZhulkovNikolay/repos","events_url":"https://api.github.com/users/ZhulkovNikolay/events{/privacy}","received_events_url":"https://api.github.com/users/ZhulkovNikolay/received_events","type":"User","site_admin":false},"repo":{"id":139800921,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4MDA5MjE=","name":"GbJavaProfessional","full_name":"ZhulkovNikolay/GbJavaProfessional","owner":{"login":"ZhulkovNikolay","id":12703647,"node_id":"MDQ6VXNlcjEyNzAzNjQ3","avatar_url":"https://avatars0.githubusercontent.com/u/12703647?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhulkovNikolay","html_url":"https://github.com/ZhulkovNikolay","followers_url":"https://api.github.com/users/ZhulkovNikolay/followers","following_url":"https://api.github.com/users/ZhulkovNikolay/following{/other_user}","gists_url":"https://api.github.com/users/ZhulkovNikolay/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhulkovNikolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhulkovNikolay/subscriptions","organizations_url":"https://api.github.com/users/ZhulkovNikolay/orgs","repos_url":"https://api.github.com/users/ZhulkovNikolay/repos","events_url":"https://api.github.com/users/ZhulkovNikolay/events{/privacy}","received_events_url":"https://api.github.com/users/ZhulkovNikolay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional","description":"GbJavaProfessional","fork":false,"url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional","forks_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/forks","keys_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/teams","hooks_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/hooks","issue_events_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/events{/number}","events_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/events","assignees_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/assignees{/user}","branches_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/branches{/branch}","tags_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/tags","blobs_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/statuses/{sha}","languages_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/languages","stargazers_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/stargazers","contributors_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/contributors","subscribers_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/subscribers","subscription_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/subscription","commits_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/contents/{+path}","compare_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/merges","archive_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/downloads","issues_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues{/number}","pulls_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls{/number}","milestones_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/milestones{/number}","notifications_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/labels{/name}","releases_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/releases{/id}","deployments_url":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/deployments","created_at":"2018-07-05T05:53:17Z","updated_at":"2018-07-05T05:55:57Z","pushed_at":"2018-07-12T10:01:00Z","git_url":"git://github.com/ZhulkovNikolay/GbJavaProfessional.git","ssh_url":"git@github.com:ZhulkovNikolay/GbJavaProfessional.git","clone_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional.git","svn_url":"https://github.com/ZhulkovNikolay/GbJavaProfessional","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4"},"html":{"href":"https://github.com/ZhulkovNikolay/GbJavaProfessional/pull/4"},"issue":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/4"},"comments":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ZhulkovNikolay/GbJavaProfessional/statuses/e30fb19e308376e98dbc13167c3d12ffd9421aa2"}},"author_association":"OWNER"}}
{"actor":{"display_login":"batiaev"}}