{"action":"created","comment":{"url":"https://api.github.com/repos/Valeran86/collections-example/pulls/comments/197496456","pull_request_review_id":131257775,"id":197496456,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzQ5NjQ1Ng==","diff_hunk":"@@ -3,9 +3,40 @@\n import java.io.IOException;\r\n import java.net.URISyntaxException;\r\n import java.util.ArrayList;\r\n+import java.util.*;\r\n+import java.util.ListIterator;\r\n \r\n //Задание 5: Реализуйте свой Iterator для обхода списка в обратном порядке.\r\n public class Iterator {\r\n     public static void main( String[] args ) throws IOException, URISyntaxException {\r\n+        MyList words = new MyList(Reader.read());\r\n+        for (String word: words) {\r\n+            System.out.println(word);\r\n+        }\r\n     }\r\n+    public static class MyList implements Iterable<String> {\r\n+\r\n+        private String[] arrayList;\r","path":"src/main/java/ru/sbt/collections/Iterator.java","position":null,"original_position":17,"commit_id":"4f59119f413a3b724ee9041f3219077cda3eed36","original_commit_id":"4f59119f413a3b724ee9041f3219077cda3eed36","user":{"login":"Valeran86","id":29674559,"node_id":"MDQ6VXNlcjI5Njc0NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/29674559?v=4","gravatar_id":"","url":"https://api.github.com/users/Valeran86","html_url":"https://github.com/Valeran86","followers_url":"https://api.github.com/users/Valeran86/followers","following_url":"https://api.github.com/users/Valeran86/following{/other_user}","gists_url":"https://api.github.com/users/Valeran86/gists{/gist_id}","starred_url":"https://api.github.com/users/Valeran86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valeran86/subscriptions","organizations_url":"https://api.github.com/users/Valeran86/orgs","repos_url":"https://api.github.com/users/Valeran86/repos","events_url":"https://api.github.com/users/Valeran86/events{/privacy}","received_events_url":"https://api.github.com/users/Valeran86/received_events","type":"User","site_admin":false},"body":"стоит добавить модификатор `final`","created_at":"2018-06-22T16:16:04Z","updated_at":"2018-06-22T16:16:05Z","html_url":"https://github.com/Valeran86/collections-example/pull/4#discussion_r197496456","pull_request_url":"https://api.github.com/repos/Valeran86/collections-example/pulls/4","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Valeran86/collections-example/pulls/comments/197496456"},"html":{"href":"https://github.com/Valeran86/collections-example/pull/4#discussion_r197496456"},"pull_request":{"href":"https://api.github.com/repos/Valeran86/collections-example/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Valeran86/collections-example/pulls/4","id":196448471,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NDQ4NDcx","html_url":"https://github.com/Valeran86/collections-example/pull/4","diff_url":"https://github.com/Valeran86/collections-example/pull/4.diff","patch_url":"https://github.com/Valeran86/collections-example/pull/4.patch","issue_url":"https://api.github.com/repos/Valeran86/collections-example/issues/4","number":4,"state":"open","locked":false,"title":"Домашнее задание №2","user":{"login":"foreg","id":37451880,"node_id":"MDQ6VXNlcjM3NDUxODgw","avatar_url":"https://avatars2.githubusercontent.com/u/37451880?v=4","gravatar_id":"","url":"https://api.github.com/users/foreg","html_url":"https://github.com/foreg","followers_url":"https://api.github.com/users/foreg/followers","following_url":"https://api.github.com/users/foreg/following{/other_user}","gists_url":"https://api.github.com/users/foreg/gists{/gist_id}","starred_url":"https://api.github.com/users/foreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foreg/subscriptions","organizations_url":"https://api.github.com/users/foreg/orgs","repos_url":"https://api.github.com/users/foreg/repos","events_url":"https://api.github.com/users/foreg/events{/privacy}","received_events_url":"https://api.github.com/users/foreg/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-21T13:16:14Z","updated_at":"2018-06-22T16:16:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8558a7f20f071c1fffb0d55a26335334fcb9a52","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Valeran86/collections-example/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Valeran86/collections-example/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Valeran86/collections-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Valeran86/collections-example/issues/4/comments","statuses_url":"https://api.github.com/repos/Valeran86/collections-example/statuses/4f59119f413a3b724ee9041f3219077cda3eed36","head":{"label":"foreg:master","ref":"master","sha":"4f59119f413a3b724ee9041f3219077cda3eed36","user":{"login":"foreg","id":37451880,"node_id":"MDQ6VXNlcjM3NDUxODgw","avatar_url":"https://avatars2.githubusercontent.com/u/37451880?v=4","gravatar_id":"","url":"https://api.github.com/users/foreg","html_url":"https://github.com/foreg","followers_url":"https://api.github.com/users/foreg/followers","following_url":"https://api.github.com/users/foreg/following{/other_user}","gists_url":"https://api.github.com/users/foreg/gists{/gist_id}","starred_url":"https://api.github.com/users/foreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foreg/subscriptions","organizations_url":"https://api.github.com/users/foreg/orgs","repos_url":"https://api.github.com/users/foreg/repos","events_url":"https://api.github.com/users/foreg/events{/privacy}","received_events_url":"https://api.github.com/users/foreg/received_events","type":"User","site_admin":false},"repo":{"id":137913966,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5MTM5NjY=","name":"collections-example","full_name":"foreg/collections-example","owner":{"login":"foreg","id":37451880,"node_id":"MDQ6VXNlcjM3NDUxODgw","avatar_url":"https://avatars2.githubusercontent.com/u/37451880?v=4","gravatar_id":"","url":"https://api.github.com/users/foreg","html_url":"https://github.com/foreg","followers_url":"https://api.github.com/users/foreg/followers","following_url":"https://api.github.com/users/foreg/following{/other_user}","gists_url":"https://api.github.com/users/foreg/gists{/gist_id}","starred_url":"https://api.github.com/users/foreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foreg/subscriptions","organizations_url":"https://api.github.com/users/foreg/orgs","repos_url":"https://api.github.com/users/foreg/repos","events_url":"https://api.github.com/users/foreg/events{/privacy}","received_events_url":"https://api.github.com/users/foreg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/foreg/collections-example","description":"Template for collections tasks","fork":true,"url":"https://api.github.com/repos/foreg/collections-example","forks_url":"https://api.github.com/repos/foreg/collections-example/forks","keys_url":"https://api.github.com/repos/foreg/collections-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foreg/collections-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foreg/collections-example/teams","hooks_url":"https://api.github.com/repos/foreg/collections-example/hooks","issue_events_url":"https://api.github.com/repos/foreg/collections-example/issues/events{/number}","events_url":"https://api.github.com/repos/foreg/collections-example/events","assignees_url":"https://api.github.com/repos/foreg/collections-example/assignees{/user}","branches_url":"https://api.github.com/repos/foreg/collections-example/branches{/branch}","tags_url":"https://api.github.com/repos/foreg/collections-example/tags","blobs_url":"https://api.github.com/repos/foreg/collections-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foreg/collections-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foreg/collections-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/foreg/collections-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foreg/collections-example/statuses/{sha}","languages_url":"https://api.github.com/repos/foreg/collections-example/languages","stargazers_url":"https://api.github.com/repos/foreg/collections-example/stargazers","contributors_url":"https://api.github.com/repos/foreg/collections-example/contributors","subscribers_url":"https://api.github.com/repos/foreg/collections-example/subscribers","subscription_url":"https://api.github.com/repos/foreg/collections-example/subscription","commits_url":"https://api.github.com/repos/foreg/collections-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/foreg/collections-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/foreg/collections-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/foreg/collections-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/foreg/collections-example/contents/{+path}","compare_url":"https://api.github.com/repos/foreg/collections-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foreg/collections-example/merges","archive_url":"https://api.github.com/repos/foreg/collections-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foreg/collections-example/downloads","issues_url":"https://api.github.com/repos/foreg/collections-example/issues{/number}","pulls_url":"https://api.github.com/repos/foreg/collections-example/pulls{/number}","milestones_url":"https://api.github.com/repos/foreg/collections-example/milestones{/number}","notifications_url":"https://api.github.com/repos/foreg/collections-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foreg/collections-example/labels{/name}","releases_url":"https://api.github.com/repos/foreg/collections-example/releases{/id}","deployments_url":"https://api.github.com/repos/foreg/collections-example/deployments","created_at":"2018-06-19T15:56:14Z","updated_at":"2018-06-21T13:11:59Z","pushed_at":"2018-06-21T13:11:58Z","git_url":"git://github.com/foreg/collections-example.git","ssh_url":"git@github.com:foreg/collections-example.git","clone_url":"https://github.com/foreg/collections-example.git","svn_url":"https://github.com/foreg/collections-example","homepage":null,"size":237,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Valeran86:master","ref":"master","sha":"9613947701ddfeb100c445e2a4188005f3edab61","user":{"login":"Valeran86","id":29674559,"node_id":"MDQ6VXNlcjI5Njc0NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/29674559?v=4","gravatar_id":"","url":"https://api.github.com/users/Valeran86","html_url":"https://github.com/Valeran86","followers_url":"https://api.github.com/users/Valeran86/followers","following_url":"https://api.github.com/users/Valeran86/following{/other_user}","gists_url":"https://api.github.com/users/Valeran86/gists{/gist_id}","starred_url":"https://api.github.com/users/Valeran86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valeran86/subscriptions","organizations_url":"https://api.github.com/users/Valeran86/orgs","repos_url":"https://api.github.com/users/Valeran86/repos","events_url":"https://api.github.com/users/Valeran86/events{/privacy}","received_events_url":"https://api.github.com/users/Valeran86/received_events","type":"User","site_admin":false},"repo":{"id":137761187,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3NjExODc=","name":"collections-example","full_name":"Valeran86/collections-example","owner":{"login":"Valeran86","id":29674559,"node_id":"MDQ6VXNlcjI5Njc0NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/29674559?v=4","gravatar_id":"","url":"https://api.github.com/users/Valeran86","html_url":"https://github.com/Valeran86","followers_url":"https://api.github.com/users/Valeran86/followers","following_url":"https://api.github.com/users/Valeran86/following{/other_user}","gists_url":"https://api.github.com/users/Valeran86/gists{/gist_id}","starred_url":"https://api.github.com/users/Valeran86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valeran86/subscriptions","organizations_url":"https://api.github.com/users/Valeran86/orgs","repos_url":"https://api.github.com/users/Valeran86/repos","events_url":"https://api.github.com/users/Valeran86/events{/privacy}","received_events_url":"https://api.github.com/users/Valeran86/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Valeran86/collections-example","description":"Template for collections tasks","fork":false,"url":"https://api.github.com/repos/Valeran86/collections-example","forks_url":"https://api.github.com/repos/Valeran86/collections-example/forks","keys_url":"https://api.github.com/repos/Valeran86/collections-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Valeran86/collections-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Valeran86/collections-example/teams","hooks_url":"https://api.github.com/repos/Valeran86/collections-example/hooks","issue_events_url":"https://api.github.com/repos/Valeran86/collections-example/issues/events{/number}","events_url":"https://api.github.com/repos/Valeran86/collections-example/events","assignees_url":"https://api.github.com/repos/Valeran86/collections-example/assignees{/user}","branches_url":"https://api.github.com/repos/Valeran86/collections-example/branches{/branch}","tags_url":"https://api.github.com/repos/Valeran86/collections-example/tags","blobs_url":"https://api.github.com/repos/Valeran86/collections-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Valeran86/collections-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Valeran86/collections-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/Valeran86/collections-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Valeran86/collections-example/statuses/{sha}","languages_url":"https://api.github.com/repos/Valeran86/collections-example/languages","stargazers_url":"https://api.github.com/repos/Valeran86/collections-example/stargazers","contributors_url":"https://api.github.com/repos/Valeran86/collections-example/contributors","subscribers_url":"https://api.github.com/repos/Valeran86/collections-example/subscribers","subscription_url":"https://api.github.com/repos/Valeran86/collections-example/subscription","commits_url":"https://api.github.com/repos/Valeran86/collections-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/Valeran86/collections-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/Valeran86/collections-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/Valeran86/collections-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/Valeran86/collections-example/contents/{+path}","compare_url":"https://api.github.com/repos/Valeran86/collections-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Valeran86/collections-example/merges","archive_url":"https://api.github.com/repos/Valeran86/collections-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Valeran86/collections-example/downloads","issues_url":"https://api.github.com/repos/Valeran86/collections-example/issues{/number}","pulls_url":"https://api.github.com/repos/Valeran86/collections-example/pulls{/number}","milestones_url":"https://api.github.com/repos/Valeran86/collections-example/milestones{/number}","notifications_url":"https://api.github.com/repos/Valeran86/collections-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Valeran86/collections-example/labels{/name}","releases_url":"https://api.github.com/repos/Valeran86/collections-example/releases{/id}","deployments_url":"https://api.github.com/repos/Valeran86/collections-example/deployments","created_at":"2018-06-18T14:20:22Z","updated_at":"2018-06-18T14:41:07Z","pushed_at":"2018-06-22T15:56:26Z","git_url":"git://github.com/Valeran86/collections-example.git","ssh_url":"git@github.com:Valeran86/collections-example.git","clone_url":"https://github.com/Valeran86/collections-example.git","svn_url":"https://github.com/Valeran86/collections-example","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":7,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Valeran86/collections-example/pulls/4"},"html":{"href":"https://github.com/Valeran86/collections-example/pull/4"},"issue":{"href":"https://api.github.com/repos/Valeran86/collections-example/issues/4"},"comments":{"href":"https://api.github.com/repos/Valeran86/collections-example/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Valeran86/collections-example/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Valeran86/collections-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Valeran86/collections-example/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Valeran86/collections-example/statuses/4f59119f413a3b724ee9041f3219077cda3eed36"}},"author_association":"NONE"}}
{"actor":{"display_login":"Valeran86"}}