This commit is contained in:
Max Medvedev
2012-10-25 14:20:34 +04:00
parent 180a5f1d94
commit fcd7632cac
@@ -200,10 +200,6 @@ public class GroovyBlock implements Block, GroovyElementTypes, ASTBlock {
}
if (BLOCK_SET.contains(astNode.getElementType()) || SWITCH_STATEMENT.equals(astNode.getElementType())) {
// List<Block> blocks = getSubBlocks();
// if (newChildIndex != 0 && newChildIndex <= blocks.size() && blocks.get(newChildIndex - 1) instanceof ClosureBodyBlock) {
// return new ChildAttributes(Indent.getSpaceIndent(mySettings.getIndentOptions().INDENT_SIZE * 2), null);
// }
return new ChildAttributes(Indent.getNormalIndent(), null);
}
if (CASE_SECTION.equals(astNode.getElementType())) {