IJPL-253202 PluginUpdatesService: Remove static recalculateUpdates method for the sake of compatibility

GitOrigin-RevId: cd529b509056f80c047d910901a591343dc748cd
This commit is contained in:
Kostya Ripak
2026-08-20 13:16:07 +00:00
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()