diff --git a/platform/lang-impl/src/com/intellij/workspaceModel/ide/impl/legacyBridge/sdk/GlobalSdkBridgesLoader.kt b/platform/lang-impl/src/com/intellij/workspaceModel/ide/impl/legacyBridge/sdk/GlobalSdkBridgesLoader.kt index da18256eb629..db0e4fe8ac33 100644 --- a/platform/lang-impl/src/com/intellij/workspaceModel/ide/impl/legacyBridge/sdk/GlobalSdkBridgesLoader.kt +++ b/platform/lang-impl/src/com/intellij/workspaceModel/ide/impl/legacyBridge/sdk/GlobalSdkBridgesLoader.kt @@ -54,14 +54,7 @@ private class GlobalSdkBridgesLoader(private val eelMachine: EelMachine) : Globa thisLogger().debug("Initial load of SDKs") for ((entity, sdkBridge) in sdks) { - if (shouldSkipEntityProcessing(entity)) { - // The SDKs are populated from a single file for now. All loaded SDK entities go to the same entity storage - // We want to avoid having alien SDKs in storages, hence we filter them - mutableStorage.removeEntity(entity) - } - else { - mutableStorage.mutableSdkMap.addIfAbsent(entity, sdkBridge) - } + mutableStorage.mutableSdkMap.addIfAbsent(entity, sdkBridge) } return {} } @@ -72,10 +65,6 @@ private class GlobalSdkBridgesLoader(private val eelMachine: EelMachine) : Globa val addChanges = sdkChanges.filterIsInstance>() for (addChange in addChanges) { - if (shouldSkipEntityProcessing(addChange.newEntity)) { - continue - } - // Will initialize the bridge if missing builder.mutableSdkMap.getOrPutDataByEntity(addChange.newEntity) { val sdkEntityCopy = SdkBridgeImpl.createEmptySdkEntity("", "", "")