We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69eedd0 commit cac0623Copy full SHA for cac0623
src/main/kotlin/org/domaframework/doma/intellij/formatter/block/group/keyword/option/SqlInGroupBlock.kt
@@ -68,11 +68,8 @@ class SqlInGroupBlock(
68
69
override fun isSaveSpace(lastGroup: SqlBlock?): Boolean {
70
if (lastGroup is SqlElConditionLoopCommentBlock) {
71
- return if (lastGroup.conditionType.isElse()) {
72
- false
73
- } else {
74
- !lastGroup.isBeforeParentBlock()
75
- }
+ if (lastGroup.conditionType.isElse()) return false
+ return !lastGroup.isBeforeParentBlock()
76
}
77
return false
78
0 commit comments