You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/kotlin/org/domaframework/doma/intellij/formatter/block/comment/SqlElConditionLoopCommentBlock.kt
+9-12Lines changed: 9 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -221,20 +221,17 @@ class SqlElConditionLoopCommentBlock(
221
221
isSqlKeywordGroupBlock-> {
222
222
// At this point, it's not possible to determine whether the parent keyword group appears before or after this block based solely on the parent-child relationship.
223
223
// Therefore, determine the position directly using the text offset.
224
-
returnif (!isBeforeParentBlock()) {
225
-
val lastBlockConditionLoopCommentBlock:SqlElConditionLoopCommentBlock?= getLastBlockHasConditionLoopDirective()
226
-
if (lastBlockConditionLoopCommentBlock !=null&& lastBlockConditionLoopCommentBlock.conditionEnd !=null) {
0 commit comments