File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
scala/src/com/google/idea/blaze/scala/libraries Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1313import com .google .idea .blaze .scala .sync .model .BlazeScalaSyncData ;
1414import com .google .idea .common .experiments .BoolExperiment ;
1515import com .google .idea .common .util .Transactions ;
16- import com .google .idea .sdkcompat .general .BaseSdkCompat ;
1716import com .google .idea .sdkcompat .java .AttachSourcesProviderAdapter ;
1817import com .intellij .openapi .application .ApplicationManager ;
1918import com .intellij .openapi .application .TransactionGuard ;
2827import java .util .Collection ;
2928import java .util .List ;
3029import javax .annotation .Nullable ;
30+ import com .intellij .openapi .externalSystem .service .project .IdeModifiableModelsProviderImpl ;
3131
3232public class BlazeScalaAttachSourceProvider extends AttachSourcesProviderAdapter {
3333
@@ -141,8 +141,7 @@ private static void attachSources(
141141 ApplicationManager .getApplication ()
142142 .runWriteAction (
143143 () -> {
144- IdeModifiableModelsProvider modelsProvider =
145- BaseSdkCompat .createModifiableModelsProvider (project );
144+ IdeModifiableModelsProvider modelsProvider = new IdeModifiableModelsProviderImpl (project );
146145 for (BlazeLibrary blazeLibrary : librariesToAttachSourceTo ) {
147146 // Make sure we don't do it twice
148147 if (AttachedSourceJarManager .getInstance (project )
You can’t perform that action at this time.
0 commit comments