File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/kotlin/translations/identification Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ import com.intellij.platform.workspace.jps.entities.LibraryRootTypeId
4646import com.intellij.platform.workspace.jps.entities.modifyEntity
4747import com.intellij.platform.workspace.storage.MutableEntityStorage
4848import com.intellij.workspaceModel.ide.impl.legacyBridge.library.LibraryBridge
49- import com.intellij.workspaceModel.ide.impl.legacyBridge.library.ProjectLibraryTableBridgeImpl.Companion.findLibraryEntity
5049import org.jetbrains.concurrency.AsyncPromise
5150import org.jetbrains.concurrency.Promise
5251import org.jetbrains.concurrency.resolvedPromise
@@ -83,7 +82,7 @@ class TranslationExternalAnnotationsArtifactsResolver : ExternalAnnotationsArtif
8382
8483 val annotationsPath = findAnnotationsPath(false ) ? : findAnnotationsPath(true ) ? : return false
8584
86- val libraryEntity = diff.findLibraryEntity (library) ? : return true
85+ val libraryEntity = diff.resolve (library.libraryId ) ? : return true
8786 val vfUrlManager = WorkspaceModel .getInstance(project).getVirtualFileUrlManager()
8887 val newUrl = annotationsPath.toVirtualFileUrl(vfUrlManager)
8988 val annotationsRootType = LibraryRootTypeId (AnnotationOrderRootType .ANNOTATIONS_ID )
You can’t perform that action at this time.
0 commit comments