{"action":"created","issue":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/709","repository_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle","labels_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/709/labels{/name}","comments_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/709/comments","events_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/709/events","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/709","id":344817541,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MTIxNzMx","number":709,"title":"Issue #464: Check for trailing commas on enums","user":{"login":"kariem","id":459324,"node_id":"MDQ6VXNlcjQ1OTMyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/459324?v=4","gravatar_id":"","url":"https://api.github.com/users/kariem","html_url":"https://github.com/kariem","followers_url":"https://api.github.com/users/kariem/followers","following_url":"https://api.github.com/users/kariem/following{/other_user}","gists_url":"https://api.github.com/users/kariem/gists{/gist_id}","starred_url":"https://api.github.com/users/kariem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kariem/subscriptions","organizations_url":"https://api.github.com/users/kariem/orgs","repos_url":"https://api.github.com/users/kariem/repos","events_url":"https://api.github.com/users/kariem/events{/privacy}","received_events_url":"https://api.github.com/users/kariem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2018-07-26T12:11:18Z","updated_at":"2018-10-17T09:15:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/pulls/709","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/709","diff_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/709.diff","patch_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/709.patch"},"body":"Adresses #464, supersedes #465 and #474.\r\n\r\nThis Check assures that the last enum constant definition in a multi-line enum ends in a comma:\r\n\r\n```\r\nenum E1 {\r\n    ONE,\r\n    TWO,\r\n    THREE,\r\n}\r\n```\r\n\r\nUsage examples are in the Javadoc of `EnumTrailingCommaAndSemicolonCheck`. This check follows the concept of [ArrayTrailingComma](http://checkstyle.sourceforge.net/config_coding.html#ArrayTrailingComma), hence the similar name.\r\n\r\nIt also checks that the \"trailing\" comma after the last enum constant definition is not followed by a semicolon, because this would miss the point of the check: clean diff and easy manipulation."},"comment":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/comments/430552998","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/709#issuecomment-430552998","issue_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/709","id":430552998,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDU1Mjk5OA==","user":{"login":"kariem","id":459324,"node_id":"MDQ6VXNlcjQ1OTMyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/459324?v=4","gravatar_id":"","url":"https://api.github.com/users/kariem","html_url":"https://github.com/kariem","followers_url":"https://api.github.com/users/kariem/followers","following_url":"https://api.github.com/users/kariem/following{/other_user}","gists_url":"https://api.github.com/users/kariem/gists{/gist_id}","starred_url":"https://api.github.com/users/kariem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kariem/subscriptions","organizations_url":"https://api.github.com/users/kariem/orgs","repos_url":"https://api.github.com/users/kariem/repos","events_url":"https://api.github.com/users/kariem/events{/privacy}","received_events_url":"https://api.github.com/users/kariem/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T09:15:23Z","updated_at":"2018-10-17T09:15:23Z","author_association":"CONTRIBUTOR","body":"> CI is failing. https://travis-ci.org/sevntu-checkstyle/sevntu.checkstyle/jobs/442062494#L559\r\n\r\nResolved in 26d7bf9c4e9432d90f3e39cab0edb6192abae59f and bc2730a22bec2ae03924ee1e109abbcd1dffffff."}}
{"actor":{"display_login":"kariem"}}