Replace JVM StringBuilder.appendln usages with appendLine
This commit is contained in:
+6
-7
@@ -13,18 +13,17 @@ internal data class CInteropCommonizerGroup(
|
||||
@get:Input val targets: Set<SharedCommonizerTarget>,
|
||||
@get:Input val interops: Set<CInteropIdentifier>
|
||||
) {
|
||||
@Suppress("deprecation")
|
||||
override fun toString(): String {
|
||||
return buildString {
|
||||
appendln("InteropsGroup {")
|
||||
appendln("targets: ")
|
||||
appendLine("InteropsGroup {")
|
||||
appendLine("targets: ")
|
||||
targets.sortedBy { it.targets.size }.forEach { target ->
|
||||
appendln(" $target")
|
||||
appendLine(" $target")
|
||||
}
|
||||
appendln()
|
||||
appendln("interops: ")
|
||||
appendLine()
|
||||
appendLine("interops: ")
|
||||
interops.sortedBy { it.toString() }.forEach { interop ->
|
||||
appendln(" $interop")
|
||||
appendLine(" $interop")
|
||||
}
|
||||
appendLine("}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user