File tree 1 file changed +2
-3
lines changed
scala/src/com/google/idea/blaze/scala/libraries
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 13
13
import com .google .idea .blaze .scala .sync .model .BlazeScalaSyncData ;
14
14
import com .google .idea .common .experiments .BoolExperiment ;
15
15
import com .google .idea .common .util .Transactions ;
16
- import com .google .idea .sdkcompat .general .BaseSdkCompat ;
17
16
import com .google .idea .sdkcompat .java .AttachSourcesProviderAdapter ;
18
17
import com .intellij .openapi .application .ApplicationManager ;
19
18
import com .intellij .openapi .application .TransactionGuard ;
28
27
import java .util .Collection ;
29
28
import java .util .List ;
30
29
import javax .annotation .Nullable ;
30
+ import com .intellij .openapi .externalSystem .service .project .IdeModifiableModelsProviderImpl ;
31
31
32
32
public class BlazeScalaAttachSourceProvider extends AttachSourcesProviderAdapter {
33
33
@@ -141,8 +141,7 @@ private static void attachSources(
141
141
ApplicationManager .getApplication ()
142
142
.runWriteAction (
143
143
() -> {
144
- IdeModifiableModelsProvider modelsProvider =
145
- BaseSdkCompat .createModifiableModelsProvider (project );
144
+ IdeModifiableModelsProvider modelsProvider = new IdeModifiableModelsProviderImpl (project );
146
145
for (BlazeLibrary blazeLibrary : librariesToAttachSourceTo ) {
147
146
// Make sure we don't do it twice
148
147
if (AttachedSourceJarManager .getInstance (project )
You can’t perform that action at this time.
0 commit comments