{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/281","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/281/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/281/events","html_url":"https://github.com/checkstyle/checkstyle/issues/281","id":42950523,"number":281,"title":"Indentation properties not applied properly to lambdas","user":{"login":"ikabiljo","id":748483,"avatar_url":"https://avatars.githubusercontent.com/u/748483?v=3","gravatar_id":"","url":"https://api.github.com/users/ikabiljo","html_url":"https://github.com/ikabiljo","followers_url":"https://api.github.com/users/ikabiljo/followers","following_url":"https://api.github.com/users/ikabiljo/following{/other_user}","gists_url":"https://api.github.com/users/ikabiljo/gists{/gist_id}","starred_url":"https://api.github.com/users/ikabiljo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikabiljo/subscriptions","organizations_url":"https://api.github.com/users/ikabiljo/orgs","repos_url":"https://api.github.com/users/ikabiljo/repos","events_url":"https://api.github.com/users/ikabiljo/events{/privacy}","received_events_url":"https://api.github.com/users/ikabiljo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/approved","name":"approved","color":"009800"},{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/high%20demand","name":"high demand","color":"e11d21"},{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/indentaion","name":"indentaion","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2014-09-17T00:42:32Z","updated_at":"2015-09-15T14:29:20Z","closed_at":null,"body":"(Java 8 - sabaka gsoc branch)\r\n\r\nIndentation properties don't seem to be applied properly to lambdas. For example, if I change indentation to 2, with: \r\n```\r\n<?xml version=\"1.0\"?>\r\n<!DOCTYPE module PUBLIC\r\n    \"-//Puppy Crawl//DTD Check Configuration 1.3//EN\"\r\n    \"http://www.puppycrawl.com/dtds/configuration_1_3.dtd\">\r\n<module name=\"Checker\">\r\n  <module name=\"TreeWalker\">\r\n    <module name=\"Indentation\">\r\n      <property name=\"caseIndent\" value=\"0\"/>\r\n      <property name=\"basicOffset\" value=\"2\"/>\r\n      <property name=\"braceAdjustment\" value=\"0\"/>\r\n   </module>\r\n  </module>\r\n</module>\r\n```\r\nIt complains for the following code:\r\n```\r\npublic class A {\r\n  void function(Runnable x) {\r\n    Runnable r = () -> {\r\n      x.run();\r\n      x.run();\r\n    };\r\n  }\r\n}\r\n```\r\nwanting lambda to be 4 spaces indented:\r\n\r\nblock child at indentation level 6 not at correct indentation, 8\r\nblock child at indentation level 6 not at correct indentation, 8\r\nblock rcurly at indentation level 4 not at correct indentation, 6\r\n"},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/140410802","html_url":"https://github.com/checkstyle/checkstyle/issues/281#issuecomment-140410802","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/281","id":140410802,"user":{"login":"romani","id":812984,"avatar_url":"https://avatars.githubusercontent.com/u/812984?v=3","gravatar_id":"","url":"https://api.github.com/users/romani","html_url":"https://github.com/romani","followers_url":"https://api.github.com/users/romani/followers","following_url":"https://api.github.com/users/romani/following{/other_user}","gists_url":"https://api.github.com/users/romani/gists{/gist_id}","starred_url":"https://api.github.com/users/romani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romani/subscriptions","organizations_url":"https://api.github.com/users/romani/orgs","repos_url":"https://api.github.com/users/romani/repos","events_url":"https://api.github.com/users/romani/events{/privacy}","received_events_url":"https://api.github.com/users/romani/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T14:29:20Z","updated_at":"2015-09-15T14:29:20Z","body":"TO ALL,\r\n\r\n@pietern did a amazing work and contributed a PR with fix for LAMBDA support.\r\n\r\nPlease get his PR, build it \"mvn clean package -Passembly\" and share your testing results. If no problems detected this fix appear in 6.11 release (end of September).\r\n\r\nIf smb have a problem with build of binary yourself , I could share binaries."}}