Minor, fix warnings on new stdlib API

In modules where allWarningsAsErrors is not yet enabled.
This commit is contained in:
Alexander Udalov
2021-04-09 17:20:07 +02:00
parent e89ab71bf8
commit 168d8b07a8
8 changed files with 14 additions and 14 deletions
@@ -58,10 +58,10 @@ object HLDiagnosticConverter {
}
private fun DiagnosticData.getHLDiagnosticClassName() =
name.toLowerCase()
name.lowercase()
.split('_')
.joinToString(separator = "") {
it.capitalize()
it.replaceFirstChar(Char::uppercaseChar)
}
private fun DiagnosticData.getHLDiagnosticImplClassName() =