mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-67294 unexpected reformat result for package-private annotation
No indent is defined for annotations now
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user