{"action":"closed","issue":{"url":"https://api.github.com/repos/google/google-java-format/issues/166","repository_url":"https://api.github.com/repos/google/google-java-format","labels_url":"https://api.github.com/repos/google/google-java-format/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/google/google-java-format/issues/166/comments","events_url":"https://api.github.com/repos/google/google-java-format/issues/166/events","html_url":"https://github.com/google/google-java-format/issues/166","id":239243293,"number":166,"title":"Indentation wrong in default case in a switch statement.","user":{"login":"hildrum","id":5419652,"avatar_url":"https://avatars1.githubusercontent.com/u/5419652?v=3","gravatar_id":"","url":"https://api.github.com/users/hildrum","html_url":"https://github.com/hildrum","followers_url":"https://api.github.com/users/hildrum/followers","following_url":"https://api.github.com/users/hildrum/following{/other_user}","gists_url":"https://api.github.com/users/hildrum/gists{/gist_id}","starred_url":"https://api.github.com/users/hildrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hildrum/subscriptions","organizations_url":"https://api.github.com/users/hildrum/orgs","repos_url":"https://api.github.com/users/hildrum/repos","events_url":"https://api.github.com/users/hildrum/events{/privacy}","received_events_url":"https://api.github.com/users/hildrum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-28T17:48:44Z","updated_at":"2017-06-29T19:34:56Z","closed_at":"2017-06-29T19:34:56Z","body":"If I have: \r\n````\r\n      case 3:\r\n        return whatever;\r\n      default:\r\n        throw new IllegalArgumentException(\"oops\");\r\n````\r\nand I run the google-java-format, it adds two spaces to the default and throw,\r\n````\r\n      case 3:\r\n        return whatever;\r\n        default:\r\n          throw new IllegalArgumentException(\"oops\");\r\n````\r\n\r\nThis switch statement is inside a function defined in an enum."}}
{"actor":{"display_login":"hildrum"}}