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: cd529b509056f80c047d910901a591343dc748cd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3b045ad990
commit
09129340a4
@@ -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