Remove obsolete @OptIn(ExperimentalStdlibApi::class) annotations

They were added when `buildList`, `buildMap` and `buildSet` were experimental.

^KT-62510
This commit is contained in:
Ilya Kirillov
2023-10-11 10:26:48 +02:00
committed by Space Team
parent 376d27dc6a
commit f11cb277cd
10 changed files with 0 additions and 11 deletions
@@ -12,7 +12,6 @@ data class Jsr305Settings(
val migrationLevel: ReportLevel? = null,
val userDefinedLevelForSpecificAnnotation: Map<FqName, ReportLevel> = emptyMap()
) {
@OptIn(ExperimentalStdlibApi::class)
val description by lazy {
buildList {
add(globalLevel.description)
@@ -52,7 +52,6 @@ object Visibilities {
}
}
@OptIn(ExperimentalStdlibApi::class)
private val ORDERED_VISIBILITIES: Map<Visibility, Int> = buildMap {
put(PrivateToThis, 0)
put(Private, 0)