IDEA-67294 unexpected reformat result for package-private annotation

No indent is defined for annotations now
This commit is contained in:
Denis Zhdanov
2011-03-31 12:40:16 +04:00
parent 6e6b6d5257
commit 3e27c48fa2
2 changed files with 13 additions and 1 deletions
@@ -235,7 +235,7 @@ public class CodeBlockBlock extends AbstractJavaBlock {
}
private Indent calcCurrentIndent(final ASTNode child, final int state) {
if (isRBrace(child)) {
if (isRBrace(child) || child.getElementType() == JavaTokenType.AT) {
return Indent.getNoneIndent();
}