mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
clean up
GitOrigin-RevId: ec11a25498a3621832d103915a5f81d572be78a3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e08d85364e
commit
8cd3eddfb6
@@ -305,7 +305,6 @@ suspend fun <T> writeIntentReadAction(action: () -> T): T {
|
||||
|
||||
private fun readWriteActionSupport() = ApplicationManager.getApplication().getService(ReadWriteActionSupport::class.java)
|
||||
|
||||
@Suppress("CONFLICTING_OVERLOADS") // KT-61878
|
||||
@Deprecated("Moved to modality.kt", level = DeprecationLevel.HIDDEN)
|
||||
fun ModalityState.asContextElement(): CoroutineContext = asContextElement()
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ suspend fun isModalAwareContext(): Boolean {
|
||||
return currentCoroutineContext().contextModality() != ModalityState.any()
|
||||
}
|
||||
|
||||
@Suppress("CONFLICTING_OVERLOADS") // KT-61878
|
||||
fun ModalityState.asContextElement(): CoroutineContext {
|
||||
return ModalityStateElement(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user