ensureCapacity

inline fun StringBuilder.ensureCapacity(capacity: Int)(source)

Deprecated

Warning since 1.3

Error since 1.6

Use ensureCapacity(minimumCapacity: Int) instead

Replace with

ensureCapacity(minimumCapacity = capacity)

Since Kotlin

1.3