payload: {"action":"created","issue":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/4322","repository_url":"https://api.github.com/repos/OpenAPITools/openapi-generator","labels_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/4322/labels{/name}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/4322/comments","events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/4322/events","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/4322","id":514573289,"node_id":"MDU6SXNzdWU1MTQ1NzMyODk=","number":4322,"title":"[BUG] Adherence to google java style guide","user":{"login":"bodograumann","id":1223583,"node_id":"MDQ6VXNlcjEyMjM1ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/1223583?v=4","gravatar_id":"","url":"https://api.github.com/users/bodograumann","html_url":"https://github.com/bodograumann","followers_url":"https://api.github.com/users/bodograumann/followers","following_url":"https://api.github.com/users/bodograumann/following{/other_user}","gists_url":"https://api.github.com/users/bodograumann/gists{/gist_id}","starred_url":"https://api.github.com/users/bodograumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodograumann/subscriptions","organizations_url":"https://api.github.com/users/bodograumann/orgs","repos_url":"https://api.github.com/users/bodograumann/repos","events_url":"https://api.github.com/users/bodograumann/events{/privacy}","received_events_url":"https://api.github.com/users/bodograumann/received_events","type":"User","site_admin":false},"labels":[{"id":931403399,"node_id":"MDU6TGFiZWw5MzE0MDMzOTk=","url":"https://api.github.com/repos/OpenAPITools/openapi-generator/labels/Issue:%20Bug","name":"Issue: Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-10-30T10:59:51Z","updated_at":"2019-10-30T12:43:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Maybe I'm understanding this wrong, but according to the [Guidelines for Contributing](https://github.com/OpenAPITools/openapi-generator/blob/master/CONTRIBUTING.md), java code should adhere to the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html).\r\n\r\nThe most glaring difference is that the style guide defines an indentation of *2 spaces*, while most java-sources in this repo use *4 spaces*.\r\n\r\nPersonally I would prefer a tool doing as much formatting and checking as possible. E.g.\r\n```bash\r\nprettier SomeClassName.java --print-width=100 --write\r\n```\r\n\r\nMost importantly it is unclear to me, how new code should be formatted."},"comment":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/comments/547883291","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/4322#issuecomment-547883291","issue_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/4322","id":547883291,"node_id":"MDEyOklzc3VlQ29tbWVudDU0Nzg4MzI5MQ==","user":{"login":"wing328","id":934260,"node_id":"MDQ6VXNlcjkzNDI2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"created_at":"2019-10-30T12:43:42Z","updated_at":"2019-10-30T12:43:42Z","author_association":"MEMBER","body":"I agree all the Java code in the project itself should conform to a certain style guide.\r\n\r\nI usually use Intellji IDEA to format the code. Maybe we should use that as a reference and list Intellji IDEA as the recommended IDE.\r\n\r\nWe tried to enforce style guide using a Java plugin but lots of PRs failed the check and people simply don't have time to update their PR so that's why we didn't enforce it in projects at the moment.\r\n\r\n"}}
other: {"actor":{"display_login":"wing328"}}