Skip to content

Commit

Permalink
Fix build after changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mildagle authored and WixBuildServer committed Feb 15, 2023
1 parent 44a53fa commit b240a62
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import com.google.idea.blaze.scala.sync.model.BlazeScalaSyncData;
import com.google.idea.common.experiments.BoolExperiment;
import com.google.idea.common.util.Transactions;
import com.google.idea.sdkcompat.general.BaseSdkCompat;
import com.google.idea.sdkcompat.java.AttachSourcesProviderAdapter;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.TransactionGuard;
Expand All @@ -28,6 +27,7 @@
import java.util.Collection;
import java.util.List;
import javax.annotation.Nullable;
import com.intellij.openapi.externalSystem.service.project.IdeModifiableModelsProviderImpl;

public class BlazeScalaAttachSourceProvider extends AttachSourcesProviderAdapter {

Expand Down Expand Up @@ -141,8 +141,7 @@ private static void attachSources(
ApplicationManager.getApplication()
.runWriteAction(
() -> {
IdeModifiableModelsProvider modelsProvider =
BaseSdkCompat.createModifiableModelsProvider(project);
IdeModifiableModelsProvider modelsProvider = new IdeModifiableModelsProviderImpl(project);
for (BlazeLibrary blazeLibrary : librariesToAttachSourceTo) {
// Make sure we don't do it twice
if (AttachedSourceJarManager.getInstance(project)
Expand Down

0 comments on commit b240a62

Please sign in to comment.