[FIR] Inherit FIR with parameter renderer from the old parameter renderer
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ import java.text.MessageFormat
|
||||
abstract class AbstractDiagnosticWithParametersRenderer<D : Diagnostic> protected constructor(message: String) : DiagnosticRenderer<D> {
|
||||
private val messageFormat = MessageFormat(message)
|
||||
|
||||
override fun render(obj: D): String {
|
||||
return messageFormat.format(renderParameters(obj))
|
||||
override fun render(diagnostic: D): String {
|
||||
return messageFormat.format(renderParameters(diagnostic))
|
||||
}
|
||||
|
||||
abstract fun renderParameters(diagnostic: D): Array<out Any>
|
||||
|
||||
Reference in New Issue
Block a user