mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-253202 PluginUpdatesService: Remove static recalculateUpdates method for the sake of compatibility
GitOrigin-RevId: af200ac55f5a913c2aa382c0be1da94632423eb0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
488a39bc12
commit
6b9e8e5f8a
@@ -69,11 +69,6 @@ class PluginUpdatesService(val coroutineScope: CoroutineScope) {
|
||||
fun isNeedUpdate(pluginId: PluginId): Boolean {
|
||||
return runBlockingMaybeCancellable { getInstance().awaitHasUpdate(pluginId) }
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun recalculateUpdates() {
|
||||
getInstance().recalculateUpdates()
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
@@ -156,7 +151,9 @@ class PluginUpdatesService(val coroutineScope: CoroutineScope) {
|
||||
}
|
||||
}
|
||||
|
||||
fun recalculateUpdates(): Job = coroutineScope.launch { triggerUpdates() }
|
||||
fun recalculateUpdates() {
|
||||
coroutineScope.launch { triggerUpdates() }
|
||||
}
|
||||
|
||||
suspend fun awaitUpdates(): Collection<PluginUiModel> {
|
||||
ensureUpdatesStarted()
|
||||
|
||||
Reference in New Issue
Block a user