drop obsolesce annotation from runReadAction (it forces to use pre-kotlin API inside blocking context)

GitOrigin-RevId: ba12f14d8eda7f418ff60e32ae1509b8615610e6
This commit is contained in:
Dmitry Batkovich
2025-01-03 15:20:17 +00:00
committed by intellij-monorepo-bot
parent 0e167eb022
commit 543c31f143
@@ -23,7 +23,6 @@ fun <T> runUndoTransparentWriteAction(runnable: () -> T): T {
/**
* Use [readAction].
*/
@Obsolete
fun <T> runReadAction(runnable: () -> T): T {
return ApplicationManager.getApplication().runReadAction(Computable(runnable))
}