{"action":"created","comment":{"url":"https://api.github.com/repos/java8-course/lambda/pulls/comments/123932277","pull_request_review_id":46178699,"id":123932277,"diff_hunk":"@@ -25,16 +28,14 @@\n         default ReachIterable<T> filter(final Predicate<T> predicate) {\n             return consumer -> {\n                 boolean hasNext = true;\n-                final boolean[] matched = { false };\n+                final AtomicBoolean matched = new AtomicBoolean(false);","path":"src/test/java/lambda/part3/exercise/ReachIterableTest.java","position":null,"original_position":15,"commit_id":"dfc59b6994aaba2f006b390b837a359d951c51be","original_commit_id":"dfc59b6994aaba2f006b390b837a359d951c51be","user":{"login":"senia-psm","id":1751325,"avatar_url":"https://avatars2.githubusercontent.com/u/1751325?v=3","gravatar_id":"","url":"https://api.github.com/users/senia-psm","html_url":"https://github.com/senia-psm","followers_url":"https://api.github.com/users/senia-psm/followers","following_url":"https://api.github.com/users/senia-psm/following{/other_user}","gists_url":"https://api.github.com/users/senia-psm/gists{/gist_id}","starred_url":"https://api.github.com/users/senia-psm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senia-psm/subscriptions","organizations_url":"https://api.github.com/users/senia-psm/orgs","repos_url":"https://api.github.com/users/senia-psm/repos","events_url":"https://api.github.com/users/senia-psm/events{/privacy}","received_events_url":"https://api.github.com/users/senia-psm/received_events","type":"User","site_admin":false},"body":"This is unnecessary. You implementation is not thread-safe any way.","created_at":"2017-06-26T06:04:29Z","updated_at":"2017-06-26T06:06:27Z","html_url":"https://github.com/java8-course/lambda/pull/136#discussion_r123932277","pull_request_url":"https://api.github.com/repos/java8-course/lambda/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/comments/123932277"},"html":{"href":"https://github.com/java8-course/lambda/pull/136#discussion_r123932277"},"pull_request":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/java8-course/lambda/pulls/136","id":127364585,"html_url":"https://github.com/java8-course/lambda/pull/136","diff_url":"https://github.com/java8-course/lambda/pull/136.diff","patch_url":"https://github.com/java8-course/lambda/pull/136.patch","issue_url":"https://api.github.com/repos/java8-course/lambda/issues/136","number":136,"state":"open","locked":false,"title":"Denis Verkhoturov (Reach Iterable)","user":{"login":"Leo-Scream","id":11722244,"avatar_url":"https://avatars1.githubusercontent.com/u/11722244?v=3","gravatar_id":"","url":"https://api.github.com/users/Leo-Scream","html_url":"https://github.com/Leo-Scream","followers_url":"https://api.github.com/users/Leo-Scream/followers","following_url":"https://api.github.com/users/Leo-Scream/following{/other_user}","gists_url":"https://api.github.com/users/Leo-Scream/gists{/gist_id}","starred_url":"https://api.github.com/users/Leo-Scream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leo-Scream/subscriptions","organizations_url":"https://api.github.com/users/Leo-Scream/orgs","repos_url":"https://api.github.com/users/Leo-Scream/repos","events_url":"https://api.github.com/users/Leo-Scream/events{/privacy}","received_events_url":"https://api.github.com/users/Leo-Scream/received_events","type":"User","site_admin":false},"body":"Couldn't come up with how to mutate closed variable from lamba better than through array.","created_at":"2017-06-25T13:45:16Z","updated_at":"2017-06-26T06:06:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d94f25b6e3bfdfec775f1e25143c3d7740298261","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/java8-course/lambda/pulls/136/commits","review_comments_url":"https://api.github.com/repos/java8-course/lambda/pulls/136/comments","review_comment_url":"https://api.github.com/repos/java8-course/lambda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java8-course/lambda/issues/136/comments","statuses_url":"https://api.github.com/repos/java8-course/lambda/statuses/dfc59b6994aaba2f006b390b837a359d951c51be","head":{"label":"Leo-Scream:reach-iterator","ref":"reach-iterator","sha":"dfc59b6994aaba2f006b390b837a359d951c51be","user":{"login":"Leo-Scream","id":11722244,"avatar_url":"https://avatars1.githubusercontent.com/u/11722244?v=3","gravatar_id":"","url":"https://api.github.com/users/Leo-Scream","html_url":"https://github.com/Leo-Scream","followers_url":"https://api.github.com/users/Leo-Scream/followers","following_url":"https://api.github.com/users/Leo-Scream/following{/other_user}","gists_url":"https://api.github.com/users/Leo-Scream/gists{/gist_id}","starred_url":"https://api.github.com/users/Leo-Scream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leo-Scream/subscriptions","organizations_url":"https://api.github.com/users/Leo-Scream/orgs","repos_url":"https://api.github.com/users/Leo-Scream/repos","events_url":"https://api.github.com/users/Leo-Scream/events{/privacy}","received_events_url":"https://api.github.com/users/Leo-Scream/received_events","type":"User","site_admin":false},"repo":{"id":94811518,"name":"lambda","full_name":"Leo-Scream/lambda","owner":{"login":"Leo-Scream","id":11722244,"avatar_url":"https://avatars1.githubusercontent.com/u/11722244?v=3","gravatar_id":"","url":"https://api.github.com/users/Leo-Scream","html_url":"https://github.com/Leo-Scream","followers_url":"https://api.github.com/users/Leo-Scream/followers","following_url":"https://api.github.com/users/Leo-Scream/following{/other_user}","gists_url":"https://api.github.com/users/Leo-Scream/gists{/gist_id}","starred_url":"https://api.github.com/users/Leo-Scream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leo-Scream/subscriptions","organizations_url":"https://api.github.com/users/Leo-Scream/orgs","repos_url":"https://api.github.com/users/Leo-Scream/repos","events_url":"https://api.github.com/users/Leo-Scream/events{/privacy}","received_events_url":"https://api.github.com/users/Leo-Scream/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Leo-Scream/lambda","description":null,"fork":true,"url":"https://api.github.com/repos/Leo-Scream/lambda","forks_url":"https://api.github.com/repos/Leo-Scream/lambda/forks","keys_url":"https://api.github.com/repos/Leo-Scream/lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leo-Scream/lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leo-Scream/lambda/teams","hooks_url":"https://api.github.com/repos/Leo-Scream/lambda/hooks","issue_events_url":"https://api.github.com/repos/Leo-Scream/lambda/issues/events{/number}","events_url":"https://api.github.com/repos/Leo-Scream/lambda/events","assignees_url":"https://api.github.com/repos/Leo-Scream/lambda/assignees{/user}","branches_url":"https://api.github.com/repos/Leo-Scream/lambda/branches{/branch}","tags_url":"https://api.github.com/repos/Leo-Scream/lambda/tags","blobs_url":"https://api.github.com/repos/Leo-Scream/lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leo-Scream/lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leo-Scream/lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leo-Scream/lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leo-Scream/lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/Leo-Scream/lambda/languages","stargazers_url":"https://api.github.com/repos/Leo-Scream/lambda/stargazers","contributors_url":"https://api.github.com/repos/Leo-Scream/lambda/contributors","subscribers_url":"https://api.github.com/repos/Leo-Scream/lambda/subscribers","subscription_url":"https://api.github.com/repos/Leo-Scream/lambda/subscription","commits_url":"https://api.github.com/repos/Leo-Scream/lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leo-Scream/lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leo-Scream/lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leo-Scream/lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leo-Scream/lambda/contents/{+path}","compare_url":"https://api.github.com/repos/Leo-Scream/lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leo-Scream/lambda/merges","archive_url":"https://api.github.com/repos/Leo-Scream/lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leo-Scream/lambda/downloads","issues_url":"https://api.github.com/repos/Leo-Scream/lambda/issues{/number}","pulls_url":"https://api.github.com/repos/Leo-Scream/lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/Leo-Scream/lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/Leo-Scream/lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leo-Scream/lambda/labels{/name}","releases_url":"https://api.github.com/repos/Leo-Scream/lambda/releases{/id}","deployments_url":"https://api.github.com/repos/Leo-Scream/lambda/deployments","created_at":"2017-06-19T19:08:42Z","updated_at":"2017-06-19T19:08:43Z","pushed_at":"2017-06-25T23:34:38Z","git_url":"git://github.com/Leo-Scream/lambda.git","ssh_url":"git@github.com:Leo-Scream/lambda.git","clone_url":"https://github.com/Leo-Scream/lambda.git","svn_url":"https://github.com/Leo-Scream/lambda","homepage":null,"size":40,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"java8-course:master","ref":"master","sha":"aa9077008dc4669381bc95d2e6a09786034d617d","user":{"login":"java8-course","id":22320891,"avatar_url":"https://avatars3.githubusercontent.com/u/22320891?v=3","gravatar_id":"","url":"https://api.github.com/users/java8-course","html_url":"https://github.com/java8-course","followers_url":"https://api.github.com/users/java8-course/followers","following_url":"https://api.github.com/users/java8-course/following{/other_user}","gists_url":"https://api.github.com/users/java8-course/gists{/gist_id}","starred_url":"https://api.github.com/users/java8-course/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java8-course/subscriptions","organizations_url":"https://api.github.com/users/java8-course/orgs","repos_url":"https://api.github.com/users/java8-course/repos","events_url":"https://api.github.com/users/java8-course/events{/privacy}","received_events_url":"https://api.github.com/users/java8-course/received_events","type":"Organization","site_admin":false},"repo":{"id":68708557,"name":"lambda","full_name":"java8-course/lambda","owner":{"login":"java8-course","id":22320891,"avatar_url":"https://avatars3.githubusercontent.com/u/22320891?v=3","gravatar_id":"","url":"https://api.github.com/users/java8-course","html_url":"https://github.com/java8-course","followers_url":"https://api.github.com/users/java8-course/followers","following_url":"https://api.github.com/users/java8-course/following{/other_user}","gists_url":"https://api.github.com/users/java8-course/gists{/gist_id}","starred_url":"https://api.github.com/users/java8-course/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java8-course/subscriptions","organizations_url":"https://api.github.com/users/java8-course/orgs","repos_url":"https://api.github.com/users/java8-course/repos","events_url":"https://api.github.com/users/java8-course/events{/privacy}","received_events_url":"https://api.github.com/users/java8-course/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java8-course/lambda","description":null,"fork":false,"url":"https://api.github.com/repos/java8-course/lambda","forks_url":"https://api.github.com/repos/java8-course/lambda/forks","keys_url":"https://api.github.com/repos/java8-course/lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java8-course/lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java8-course/lambda/teams","hooks_url":"https://api.github.com/repos/java8-course/lambda/hooks","issue_events_url":"https://api.github.com/repos/java8-course/lambda/issues/events{/number}","events_url":"https://api.github.com/repos/java8-course/lambda/events","assignees_url":"https://api.github.com/repos/java8-course/lambda/assignees{/user}","branches_url":"https://api.github.com/repos/java8-course/lambda/branches{/branch}","tags_url":"https://api.github.com/repos/java8-course/lambda/tags","blobs_url":"https://api.github.com/repos/java8-course/lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java8-course/lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java8-course/lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/java8-course/lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java8-course/lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/java8-course/lambda/languages","stargazers_url":"https://api.github.com/repos/java8-course/lambda/stargazers","contributors_url":"https://api.github.com/repos/java8-course/lambda/contributors","subscribers_url":"https://api.github.com/repos/java8-course/lambda/subscribers","subscription_url":"https://api.github.com/repos/java8-course/lambda/subscription","commits_url":"https://api.github.com/repos/java8-course/lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/java8-course/lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/java8-course/lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/java8-course/lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/java8-course/lambda/contents/{+path}","compare_url":"https://api.github.com/repos/java8-course/lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java8-course/lambda/merges","archive_url":"https://api.github.com/repos/java8-course/lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java8-course/lambda/downloads","issues_url":"https://api.github.com/repos/java8-course/lambda/issues{/number}","pulls_url":"https://api.github.com/repos/java8-course/lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/java8-course/lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/java8-course/lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java8-course/lambda/labels{/name}","releases_url":"https://api.github.com/repos/java8-course/lambda/releases{/id}","deployments_url":"https://api.github.com/repos/java8-course/lambda/deployments","created_at":"2016-09-20T12:15:15Z","updated_at":"2017-06-25T19:30:23Z","pushed_at":"2017-06-26T02:53:20Z","git_url":"git://github.com/java8-course/lambda.git","ssh_url":"git@github.com:java8-course/lambda.git","clone_url":"https://github.com/java8-course/lambda.git","svn_url":"https://github.com/java8-course/lambda","homepage":null,"size":22,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":132,"forks":60,"open_issues":132,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/136"},"html":{"href":"https://github.com/java8-course/lambda/pull/136"},"issue":{"href":"https://api.github.com/repos/java8-course/lambda/issues/136"},"comments":{"href":"https://api.github.com/repos/java8-course/lambda/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java8-course/lambda/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/java8-course/lambda/statuses/dfc59b6994aaba2f006b390b837a359d951c51be"}}}}
{"actor":{"display_login":"senia-psm"}}