[K/JS] Loosen StringBuilder.capacity() deprecation level to WARNING

This commit is contained in:
Abduqodiri Qurbonzoda
2023-04-19 22:30:34 +03:00
committed by Space Team
parent e20b1239fe
commit 040fcee04e
3 changed files with 3 additions and 3 deletions
@@ -132,7 +132,7 @@ public actual class StringBuilder actual constructor(content: String) : Appendab
*/
@SinceKotlin("1.3")
// @ExperimentalStdlibApi
@Deprecated("Obtaining StringBuilder capacity is not supported in JS and common code.", level = DeprecationLevel.ERROR)
@Deprecated("Obtaining StringBuilder capacity is not supported in JS and common code.", level = DeprecationLevel.WARNING)
actual fun capacity(): Int = length
/**