Upgrade to Coroutines 1.3.2

Closes gh-23663
This commit is contained in:
Sebastien Deleuze
2019-09-25 21:51:04 +02:00
parent c10dcec9ed
commit 091c512f0d
17 changed files with 1 additions and 36 deletions

View File

@@ -19,7 +19,6 @@ package org.springframework.core
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.Flow
@@ -59,7 +58,6 @@ internal fun <T: Any> monoToDeferred(source: Mono<T>) =
* @since 5.2
*/
@Suppress("UNCHECKED_CAST")
@ExperimentalCoroutinesApi
internal fun invokeSuspendingFunction(method: Method, bean: Any, vararg args: Any?): Any? {
val function = method.kotlinFunction!!
return if (function.isSuspend) {