{"action":"created","issue":{"url":"https://api.github.com/repos/teamed/qulice/issues/721","repository_url":"https://api.github.com/repos/teamed/qulice","labels_url":"https://api.github.com/repos/teamed/qulice/issues/721/labels{/name}","comments_url":"https://api.github.com/repos/teamed/qulice/issues/721/comments","events_url":"https://api.github.com/repos/teamed/qulice/issues/721/events","html_url":"https://github.com/teamed/qulice/issues/721","id":134942059,"number":721,"title":"Enforce spaces around colon in an enhanced for statement","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/teamed/qulice/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/teamed/qulice/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/teamed/qulice/labels/DEV","name":"DEV","color":"bfd4f3"},{"url":"https://api.github.com/repos/teamed/qulice/labels/postponed","name":"postponed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-19T18:34:44Z","updated_at":"2016-03-07T09:02:44Z","closed_at":null,"body":"Right now Qulice accepts the following code:\r\n```java\r\nfor (final int number:numbers) {\r\n    ...\r\n}\r\n```\r\nI need to manually point it out during code reviews.\r\n\r\nLet's enforce spaces around colon in foreach statements:\r\n```java\r\nfor (final int number : numbers) {\r\n    ...\r\n}\r\n```\r\nThis is also recommendation in [Google Style Guide](https://google.github.io/styleguide/javaguide.html#s4.6.2-horizontal-whitespace)."},"comment":{"url":"https://api.github.com/repos/teamed/qulice/issues/comments/193165923","html_url":"https://github.com/teamed/qulice/issues/721#issuecomment-193165923","issue_url":"https://api.github.com/repos/teamed/qulice/issues/721","id":193165923,"user":{"login":"davvd","id":6305016,"avatar_url":"https://avatars.githubusercontent.com/u/6305016?v=3","gravatar_id":"","url":"https://api.github.com/users/davvd","html_url":"https://github.com/davvd","followers_url":"https://api.github.com/users/davvd/followers","following_url":"https://api.github.com/users/davvd/following{/other_user}","gists_url":"https://api.github.com/users/davvd/gists{/gist_id}","starred_url":"https://api.github.com/users/davvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davvd/subscriptions","organizations_url":"https://api.github.com/users/davvd/orgs","repos_url":"https://api.github.com/users/davvd/repos","events_url":"https://api.github.com/users/davvd/events{/privacy}","received_events_url":"https://api.github.com/users/davvd/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T09:02:43Z","updated_at":"2016-03-07T09:02:43Z","body":"> @davvd this is postponed\n\n@krzyk got it, someone else will be assigned soon"}}