Fix inspection Integer.toString() -> int.toString() reports

This commit is contained in:
Nikolay Krasko
2019-04-03 19:12:07 +03:00
parent a9beb04cb7
commit bfda9cc57b
3 changed files with 5 additions and 5 deletions
@@ -340,7 +340,7 @@ class NameSuggestion {
private fun mangledId(forCalculateId: String): String {
val absHashCode = Math.abs(forCalculateId.hashCode())
return if (absHashCode != 0) Integer.toString(absHashCode, Character.MAX_RADIX) else ""
return if (absHashCode != 0) absHashCode.toString(Character.MAX_RADIX) else ""
}
private val DeclarationDescriptorWithVisibility.ownEffectiveVisibility