Remove redundant @OptIn targeting new case conversion api

This commit is contained in:
Abduqodiri Qurbonzoda
2021-04-08 02:41:12 +03:00
parent 7f0e1ac08d
commit f99c72cc98
9 changed files with 0 additions and 10 deletions
@@ -23,7 +23,6 @@ internal class OneToManyTitlecaseMappingsWriter : OneToManyMappingsWriter {
}
private fun titlecaseImpl(apostropheN: String): String = """
@OptIn(ExperimentalStdlibApi::class)
internal fun Char.titlecaseImpl(): String {
val uppercase = uppercase()
if (uppercase.length > 1) {
@@ -22,7 +22,6 @@ internal class TitlecaseMappingsWriter : MappingsWriter {
writer.append(
"""
@OptIn(ExperimentalStdlibApi::class)
internal fun Char.titlecaseCharImpl(): Char {
val code = this.code
// Letters repeating <Lu, Lt, Ll> sequence and code of the Lt is a multiple of 3, e.g. <DŽ, Dž, dž>
@@ -67,7 +67,6 @@ internal class StringCasingTestGenerator(private val outputDir: File) {
}
}
@OptIn(ExperimentalStdlibApi::class)
private fun test(rangesArrayName: String, functionName: String): String = """
class ${functionName.replaceFirstChar { it.uppercase() }}Test {
@Test