Remove StringBuilder functions with nonnull parameter type in K/N and JS #KT-53864
This commit is contained in:
committed by
Space
parent
2a36c08e1f
commit
2d0e95cea0
@@ -1486,9 +1486,6 @@ public final class StringBuilder : kotlin.text.Appendable, kotlin.CharSequence {
|
|||||||
|
|
||||||
public open override fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.StringBuilder
|
public open override fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.StringBuilder
|
||||||
|
|
||||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility.")
|
|
||||||
public final fun append(value: kotlin.String): kotlin.text.StringBuilder
|
|
||||||
|
|
||||||
@kotlin.SinceKotlin(version = "1.3")
|
@kotlin.SinceKotlin(version = "1.3")
|
||||||
public final fun append(value: kotlin.String?): kotlin.text.StringBuilder
|
public final fun append(value: kotlin.String?): kotlin.text.StringBuilder
|
||||||
|
|
||||||
@@ -1549,9 +1546,6 @@ public final class StringBuilder : kotlin.text.Appendable, kotlin.CharSequence {
|
|||||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||||
public final fun insert(index: kotlin.Int, value: kotlin.CharSequence?): kotlin.text.StringBuilder
|
public final fun insert(index: kotlin.Int, value: kotlin.CharSequence?): kotlin.text.StringBuilder
|
||||||
|
|
||||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility.")
|
|
||||||
public final fun insert(index: kotlin.Int, value: kotlin.String): kotlin.text.StringBuilder
|
|
||||||
|
|
||||||
@kotlin.SinceKotlin(version = "1.4")
|
@kotlin.SinceKotlin(version = "1.4")
|
||||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||||
public final fun insert(index: kotlin.Int, value: kotlin.String?): kotlin.text.StringBuilder
|
public final fun insert(index: kotlin.Int, value: kotlin.String?): kotlin.text.StringBuilder
|
||||||
|
|||||||
@@ -1486,9 +1486,6 @@ public final class StringBuilder : kotlin.text.Appendable, kotlin.CharSequence {
|
|||||||
|
|
||||||
public open override fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.StringBuilder
|
public open override fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.StringBuilder
|
||||||
|
|
||||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility.")
|
|
||||||
public final fun append(value: kotlin.String): kotlin.text.StringBuilder
|
|
||||||
|
|
||||||
@kotlin.SinceKotlin(version = "1.3")
|
@kotlin.SinceKotlin(version = "1.3")
|
||||||
public final fun append(value: kotlin.String?): kotlin.text.StringBuilder
|
public final fun append(value: kotlin.String?): kotlin.text.StringBuilder
|
||||||
|
|
||||||
@@ -1549,9 +1546,6 @@ public final class StringBuilder : kotlin.text.Appendable, kotlin.CharSequence {
|
|||||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||||
public final fun insert(index: kotlin.Int, value: kotlin.CharSequence?): kotlin.text.StringBuilder
|
public final fun insert(index: kotlin.Int, value: kotlin.CharSequence?): kotlin.text.StringBuilder
|
||||||
|
|
||||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility.")
|
|
||||||
public final fun insert(index: kotlin.Int, value: kotlin.String): kotlin.text.StringBuilder
|
|
||||||
|
|
||||||
@kotlin.SinceKotlin(version = "1.4")
|
@kotlin.SinceKotlin(version = "1.4")
|
||||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||||
public final fun insert(index: kotlin.Int, value: kotlin.String?): kotlin.text.StringBuilder
|
public final fun insert(index: kotlin.Int, value: kotlin.String?): kotlin.text.StringBuilder
|
||||||
|
|||||||
@@ -112,9 +112,6 @@ public actual class StringBuilder actual constructor(content: String) : Appendab
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Provided for binary compatibility.", level = DeprecationLevel.HIDDEN)
|
|
||||||
fun append(value: String): StringBuilder = append(value)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Appends the specified string [value] to this string builder and returns this instance.
|
* Appends the specified string [value] to this string builder and returns this instance.
|
||||||
*
|
*
|
||||||
@@ -277,9 +274,6 @@ public actual class StringBuilder actual constructor(content: String) : Appendab
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Provided for binary compatibility.", level = DeprecationLevel.HIDDEN)
|
|
||||||
fun insert(index: Int, value: String): StringBuilder = insert(index, value)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inserts the string [value] into this string builder at the specified [index] and returns this instance.
|
* Inserts the string [value] into this string builder at the specified [index] and returns this instance.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -176,9 +176,6 @@ actual class StringBuilder private constructor (
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Provided for binary compatibility.", level = DeprecationLevel.HIDDEN)
|
|
||||||
fun append(value: String): StringBuilder = append(value)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Appends the specified string [value] to this string builder and returns this instance.
|
* Appends the specified string [value] to this string builder and returns this instance.
|
||||||
*
|
*
|
||||||
@@ -341,9 +338,6 @@ actual class StringBuilder private constructor (
|
|||||||
*/
|
*/
|
||||||
actual fun insert(index: Int, value: Any?): StringBuilder = insert(index, value.toString())
|
actual fun insert(index: Int, value: Any?): StringBuilder = insert(index, value.toString())
|
||||||
|
|
||||||
@Deprecated("Provided for binary compatibility.", level = DeprecationLevel.HIDDEN)
|
|
||||||
fun insert(index: Int, value: String): StringBuilder = insert(index, value)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inserts the string [value] into this string builder at the specified [index] and returns this instance.
|
* Inserts the string [value] into this string builder at the specified [index] and returns this instance.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user