Replace appendln with appendLine in project
This commit is contained in:
+3
-3
@@ -64,11 +64,11 @@ class IncompatibleExpectedActualClassScopesRenderer(
|
||||
|
||||
open class MultiplatformDiagnosticRenderingMode {
|
||||
open fun newLine(sb: StringBuilder) {
|
||||
sb.appendln()
|
||||
sb.appendLine()
|
||||
}
|
||||
|
||||
open fun renderList(sb: StringBuilder, elements: List<() -> Unit>) {
|
||||
sb.appendln()
|
||||
sb.appendLine()
|
||||
for (element in elements) {
|
||||
element()
|
||||
}
|
||||
@@ -77,7 +77,7 @@ open class MultiplatformDiagnosticRenderingMode {
|
||||
open fun renderDescriptor(sb: StringBuilder, descriptor: DeclarationDescriptor, context: RenderingContext, indent: String) {
|
||||
sb.append(indent)
|
||||
sb.append(INDENTATION_UNIT)
|
||||
sb.appendln(Renderers.COMPACT_WITH_MODIFIERS.render(descriptor, context))
|
||||
sb.appendLine(Renderers.COMPACT_WITH_MODIFIERS.render(descriptor, context))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,12 +14,12 @@ fun getExceptionMessage(
|
||||
location: String?
|
||||
): String = ApplicationManager.getApplication().runReadAction<String> {
|
||||
buildString {
|
||||
append(subsystemName).append(" Internal error: ").appendln(message)
|
||||
append(subsystemName).append(" Internal error: ").appendLine(message)
|
||||
|
||||
if (location != null) {
|
||||
append("File being compiled: ").appendln(location)
|
||||
append("File being compiled: ").appendLine(location)
|
||||
} else {
|
||||
appendln("File is unknown")
|
||||
appendLine("File is unknown")
|
||||
}
|
||||
|
||||
if (cause != null) {
|
||||
|
||||
Reference in New Issue
Block a user