Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated suppressions in Gradle runner #2501

Merged
merged 1 commit into from May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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