New J2K: Do not create new line after each local declaration
This commit is contained in:
committed by
Ilya Kirillov
parent
51ee64a757
commit
6fbc180f92
@@ -528,9 +528,8 @@ class NewCodeBuilder {
|
||||
}
|
||||
|
||||
override fun visitDeclarationStatement(declarationStatement: JKDeclarationStatement) {
|
||||
declarationStatement.declaredStatements.forEach {
|
||||
renderList(declarationStatement.declaredStatements, { printer.println() }) {
|
||||
it.accept(this)
|
||||
printer.printlnWithNoIndent()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user