remove empty elements from block
This commit is contained in:
committed by
Pavel V. Talanov
parent
9e2e23c757
commit
bbc90cf577
@@ -325,7 +325,7 @@ public open class Converter() {
|
|||||||
if (block == null)
|
if (block == null)
|
||||||
return Block.EMPTY_BLOCK
|
return Block.EMPTY_BLOCK
|
||||||
|
|
||||||
return Block(statementsToStatementList(block.getChildren()), notEmpty)
|
return Block(removeEmpty(statementsToStatementList(block.getChildren())), notEmpty)
|
||||||
}
|
}
|
||||||
|
|
||||||
public open fun blockToBlock(block: PsiCodeBlock?): Block {
|
public open fun blockToBlock(block: PsiCodeBlock?): Block {
|
||||||
|
|||||||
Reference in New Issue
Block a user