diff options
author | Matthew Haughton <3flex@users.noreply.github.com> | 2022-05-18 18:57:46 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 10:57:46 +0200 |
commit | a070853d9cc4d441184fe4a84afc4d55da88b103 (patch) | |
tree | 6b2ec49418c147a38f7daa7942899bb19f7bff18 | |
parent | 6c930d08b3acdbc8430012aca2c77f07d083525a (diff) | |
download | dokka-a070853d9cc4d441184fe4a84afc4d55da88b103.tar.gz dokka-a070853d9cc4d441184fe4a84afc4d55da88b103.tar.bz2 dokka-a070853d9cc4d441184fe4a84afc4d55da88b103.zip |
Remove outdated suppressions (#2501)
4 files changed, 0 insertions, 6 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt index f9f48404..1123328a 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt @@ -1,5 +1,3 @@ -@file:Suppress("UnstableApiUsage") - package org.jetbrains.dokka.gradle import groovy.lang.Closure diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaProperty.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaProperty.kt index 51f6d297..f20513d2 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaProperty.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaProperty.kt @@ -10,7 +10,6 @@ import kotlin.reflect.typeOf internal inline fun <reified T : Any> ObjectFactory.safeProperty() = property<T?>() internal inline fun <reified T : Any> Property<T?>.safeConvention(value: T): Property<T> { - @Suppress("UnstableApiUsage") return this.convention(value).cast() } diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt index 21f0e268..717527d2 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt @@ -1,5 +1,3 @@ -@file:Suppress("FunctionName", "UnstableApiUsage") - package org.jetbrains.dokka.gradle import groovy.lang.Closure diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/automagicTypedProxy.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/automagicTypedProxy.kt index 13f9c2ff..13155c5a 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/automagicTypedProxy.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/automagicTypedProxy.kt @@ -12,7 +12,6 @@ import java.lang.reflect.Proxy * Creates [java.lang.reflect.Proxy] with pass through invocation algorithm, * to create access proxy for [delegate] into [targetClassLoader]. */ -@Suppress("UNCHECKED_CAST") internal inline fun <reified T : Any> automagicTypedProxy(targetClassLoader: ClassLoader, delegate: Any): T = automagicProxy(targetClassLoader, T::class.java, delegate) as T |