diff --git a/.idea/externalDependencies.xml b/.idea/externalDependencies.xml index 4c698556438e..cfea91d7ff11 100644 --- a/.idea/externalDependencies.xml +++ b/.idea/externalDependencies.xml @@ -9,6 +9,6 @@ - + \ No newline at end of file diff --git a/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateChecker.kt b/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateChecker.kt index 3810d0550685..cf65c047b42c 100644 --- a/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateChecker.kt +++ b/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateChecker.kt @@ -277,11 +277,10 @@ object UpdateChecker { * Returns a list of plugins which are currently installed or were installed in the previous installation from which * we're importing the settings. */ - @Suppress("DEPRECATION_ERROR") private fun collectUpdateablePlugins(): MutableMap { val updateable = ContainerUtil.newTroveMap() - updateable += PluginManagerCore.getPlugins().filter { !it.isBundled }.toMapBy { it.pluginId } + updateable += PluginManagerCore.getPlugins().filter { !it.isBundled }.associateBy { it.pluginId } val onceInstalled = PluginManager.getOnceInstalledIfExists() if (onceInstalled != null) {