{"action":"created","issue":{"url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/issues/4","labels_url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/issues/4/comments","events_url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/issues/4/events","html_url":"https://github.com/zamonier/coderetreat-2015-ws/pull/4","id":120111472,"number":4,"title":"no conditions engine","user":{"login":"zamonier","id":1765473,"avatar_url":"https://avatars.githubusercontent.com/u/1765473?v=3","gravatar_id":"","url":"https://api.github.com/users/zamonier","html_url":"https://github.com/zamonier","followers_url":"https://api.github.com/users/zamonier/followers","following_url":"https://api.github.com/users/zamonier/following{/other_user}","gists_url":"https://api.github.com/users/zamonier/gists{/gist_id}","starred_url":"https://api.github.com/users/zamonier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamonier/subscriptions","organizations_url":"https://api.github.com/users/zamonier/orgs","repos_url":"https://api.github.com/users/zamonier/repos","events_url":"https://api.github.com/users/zamonier/events{/privacy}","received_events_url":"https://api.github.com/users/zamonier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T07:38:50Z","updated_at":"2015-12-19T15:41:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/pulls/4","html_url":"https://github.com/zamonier/coderetreat-2015-ws/pull/4","diff_url":"https://github.com/zamonier/coderetreat-2015-ws/pull/4.diff","patch_url":"https://github.com/zamonier/coderetreat-2015-ws/pull/4.patch"},"body":"Game of Live engine that don’t use any condition in it’s sourcecode."},"comment":{"url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/issues/comments/165997410","html_url":"https://github.com/zamonier/coderetreat-2015-ws/pull/4#issuecomment-165997410","issue_url":"https://api.github.com/repos/zamonier/coderetreat-2015-ws/issues/4","id":165997410,"user":{"login":"PaulFrmBrn","id":9386187,"avatar_url":"https://avatars.githubusercontent.com/u/9386187?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulFrmBrn","html_url":"https://github.com/PaulFrmBrn","followers_url":"https://api.github.com/users/PaulFrmBrn/followers","following_url":"https://api.github.com/users/PaulFrmBrn/following{/other_user}","gists_url":"https://api.github.com/users/PaulFrmBrn/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulFrmBrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulFrmBrn/subscriptions","organizations_url":"https://api.github.com/users/PaulFrmBrn/orgs","repos_url":"https://api.github.com/users/PaulFrmBrn/repos","events_url":"https://api.github.com/users/PaulFrmBrn/events{/privacy}","received_events_url":"https://api.github.com/users/PaulFrmBrn/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T15:41:38Z","updated_at":"2015-12-19T15:41:38Z","body":"Another common thing i suggest you to review in all classes is stream method formatting.\r\n\r\nIMHO, this\r\n\r\n```\r\n        return world.rowsAsStream()\r\n                    .map(row -> row.stream()\r\n                                   .map(cell -> nextGenerationCell(cell, neighboursCounter.neighboursAmount(cell)))\r\n                                   .mapToInt(Cell::getState)\r\n                                   .toArray())\r\n                    .toArray(int[][]::new);\r\n```\r\nlloks better than this\r\n```\r\n        return world.rowsAsStream()\r\n                .map(row ->\r\n                        row.stream()\r\n                                .map(cell -> nextGenerationCell(cell, neighboursCounter.neighboursAmount(cell)))\r\n                                .mapToInt(Cell::getState)\r\n                                .toArray())\r\n                .toArray(int[][]::new);\r\n```"}}