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 28, 2023
1 parent 03d79a3 commit 269d8f2
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 269d8f2

Please sign in to comment.