Skip to content

Commit

Permalink
Remove outdated suppressions (#2501)
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed May 18, 2022
1 parent 6c930d0 commit a070853
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
@@ -1,5 +1,3 @@
@file:Suppress("UnstableApiUsage")

package org.jetbrains.dokka.gradle

import groovy.lang.Closure
Expand Down
Expand Up @@ -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()
}

Expand Down
@@ -1,5 +1,3 @@
@file:Suppress("FunctionName", "UnstableApiUsage")

package org.jetbrains.dokka.gradle

import groovy.lang.Closure
Expand Down
Expand Up @@ -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

Expand Down

0 comments on commit a070853

Please sign in to comment.