{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/321","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/321/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/321/events","html_url":"https://github.com/checkstyle/checkstyle/issues/321","id":46436095,"number":321,"title":"Unsatisfiable Indentation module scenario (Checkstyle 5.8 or 5.9 regression)","user":{"login":"asheldon","id":919785,"avatar_url":"https://avatars.githubusercontent.com/u/919785?v=3","gravatar_id":"","url":"https://api.github.com/users/asheldon","html_url":"https://github.com/asheldon","followers_url":"https://api.github.com/users/asheldon/followers","following_url":"https://api.github.com/users/asheldon/following{/other_user}","gists_url":"https://api.github.com/users/asheldon/gists{/gist_id}","starred_url":"https://api.github.com/users/asheldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheldon/subscriptions","organizations_url":"https://api.github.com/users/asheldon/orgs","repos_url":"https://api.github.com/users/asheldon/repos","events_url":"https://api.github.com/users/asheldon/events{/privacy}","received_events_url":"https://api.github.com/users/asheldon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"maxvetrenko","id":3089270,"avatar_url":"https://avatars.githubusercontent.com/u/3089270?v=3","gravatar_id":"","url":"https://api.github.com/users/maxvetrenko","html_url":"https://github.com/maxvetrenko","followers_url":"https://api.github.com/users/maxvetrenko/followers","following_url":"https://api.github.com/users/maxvetrenko/following{/other_user}","gists_url":"https://api.github.com/users/maxvetrenko/gists{/gist_id}","starred_url":"https://api.github.com/users/maxvetrenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxvetrenko/subscriptions","organizations_url":"https://api.github.com/users/maxvetrenko/orgs","repos_url":"https://api.github.com/users/maxvetrenko/repos","events_url":"https://api.github.com/users/maxvetrenko/events{/privacy}","received_events_url":"https://api.github.com/users/maxvetrenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2014-10-21T19:46:33Z","updated_at":"2015-02-10T08:37:52Z","closed_at":"2014-12-20T06:28:13Z","body":"There seems to be an issue with indentation tracking when multiple lines are used as part of annotations.  Here's an example with Jackson annotations:\r\n\r\n    import com.fasterxml.jackson.annotation.JsonSubTypes;\r\n    import com.fasterxml.jackson.annotation.JsonSubTypes.Type;\r\n\r\n    @JsonSubTypes({\r\n        @Type(value = Boolean.class, name = \"boolean\"),\r\n        @Type(value = String.class, name = \"string\") })\r\n    public class CheckstyleIndentationError {\r\n    }\r\n\r\nthen checkstyle incorrectly says \r\n> \"'public' have incorrect indentation level 0, expected level should be 4.\"\r\n\r\n\r\n    import com.fasterxml.jackson.annotation.JsonSubTypes;\r\n    import com.fasterxml.jackson.annotation.JsonSubTypes.Type;\r\n\r\n    @JsonSubTypes({\r\n        @Type(value = Boolean.class, name = \"boolean\"),\r\n        @Type(value = String.class, name = \"string\") })\r\n        public class CheckstyleIndentationError {\r\n    }\r\n\r\nAfter indenting 'public' by 4 spaces, checkstyle correctly says \r\n> \"'class def modifier' have incorrect indentation level 4, expected level should be 0.\" \r\n\r\nThis does not reproduce in Checkstyle 5.7, not tested on Checkstyle 5.8. \r\n\r\n    <module name=\"Checker\">\r\n        <module name=\"TreeWalker\">\r\n            <module name=\"Indentation\"/>\r\n        </module>\r\n    </module>\r\n"},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/73662614","html_url":"https://github.com/checkstyle/checkstyle/issues/321#issuecomment-73662614","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/321","id":73662614,"user":{"login":"tole42","id":197116,"avatar_url":"https://avatars.githubusercontent.com/u/197116?v=3","gravatar_id":"","url":"https://api.github.com/users/tole42","html_url":"https://github.com/tole42","followers_url":"https://api.github.com/users/tole42/followers","following_url":"https://api.github.com/users/tole42/following{/other_user}","gists_url":"https://api.github.com/users/tole42/gists{/gist_id}","starred_url":"https://api.github.com/users/tole42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tole42/subscriptions","organizations_url":"https://api.github.com/users/tole42/orgs","repos_url":"https://api.github.com/users/tole42/repos","events_url":"https://api.github.com/users/tole42/events{/privacy}","received_events_url":"https://api.github.com/users/tole42/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T08:37:52Z","updated_at":"2015-02-10T08:37:52Z","body":"Is the following annotation still an issue with 6.2/6.3 , or is my indentation wrong?\r\n\r\n```java\r\n@MessageDriven(\r\n    mappedName = \"java:jboss/exported/jms/topic/mytopic\",\r\n    activationConfig =\r\n        {\r\n            @ActivationConfigProperty(propertyName=\"destinationType\", propertyValue=\"javax.jms.Topic\"),\r\n            @ActivationConfigProperty(propertyName=\"destinationLookup\", propertyValue= JmsService.JMS_TOPIC_MYTOPIC),\r\n            @ActivationConfigProperty(propertyName = \"acknowledgeMode\", propertyValue = \"Auto-acknowledge\")\r\n        }\r\n)\r\npublic class FooMessageDrivenBean implements MessageListener {\r\n```\r\n"}}