Skip to content

Commit a848689

Browse files
xteraoCopilot
andauthored
Collect into a string
Co-authored-by: Copilot <[email protected]>
1 parent 7822680 commit a848689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/domaframework/doma/intellij/formatter/visitor/DaoInjectionSqlVisitor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class DaoInjectionSqlVisitor(
7474
if (commentEndRegex.containsMatchIn(line)) {
7575
blockComment = false
7676
}
77-
SINGLE_SPACE.plus(line.dropWhile { it.isWhitespace() })
77+
"$SINGLE_SPACE${line.dropWhile { it.isWhitespace() }}"
7878
} else {
7979
val baseLine =
8080
if (commentStartRegex.containsMatchIn(line)) {

0 commit comments

Comments
 (0)