Skip to content

Commit cac6613

Browse files
committed
squash! Refactor:Change the logic for setting parent-child relationships of conditional loop directive blocks.
1 parent a1aedad commit cac6613

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/kotlin/org/domaframework/doma/intellij/formatter/block/SqlBlock.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ open class SqlBlock(
124124
)
125125

126126
/**
127-
* TODO 親ブロックと依存先未設定の条件ループディレクティブによってインデントと改行を計算する
127+
* Calculate indentation and line breaks based on the parent block and conditional loop directives with no dependency target set.
128128
* @param lastGroup The last group block
129129
*/
130130
open fun setParentGroupBlock(lastGroup: SqlBlock?) {

src/main/kotlin/org/domaframework/doma/intellij/formatter/util/SqlBlockGenerator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ class SqlBlockGenerator(
420420
}
421421

422422
/**
423-
* TODO If the previous group is a keyword group, it becomes a table name block under specific conditions
424-
* After [SqlColumnRawGroupBlock] etc., it becomes a normal [SqlWordBlock]
423+
* If the previous group is a keyword group, it becomes a table name block under specific conditions
424+
* After [SqlColumnRawGroupBlock] etc., it becomes a normal [SqlWordBlock]
425425
*/
426426
fun getWordBlock(
427427
lastGroup: SqlBlock?,

0 commit comments

Comments
 (0)