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

GitOrigin-RevId: af200ac55f5a913c2aa382c0be1da94632423eb0
This commit is contained in:
Kostya Ripak
2026-08-24 16:19:02 +00:00
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()