mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
produce less garbage in ArtifactBridge IDEA-345621
GitOrigin-RevId: 5d3b39093b68d47c92765f55f8513c148baa3da5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b1a766997d
commit
c83d01a78c
@@ -85,7 +85,7 @@ open class ArtifactBridge(
|
||||
// and not supposed to be) and the name of the artifact is modified directly in diff. However, we assume that this case isn't possible.
|
||||
val artifactId: ArtifactId
|
||||
get() {
|
||||
val symbolicId = (entityStorage.base.artifactsMap.getEntities(this@ArtifactBridge).singleOrNull() as? ArtifactEntity)?.symbolicId
|
||||
val symbolicId = (entityStorage.base.artifactsMap.getFirstEntity(this@ArtifactBridge) as? ArtifactEntity)?.symbolicId
|
||||
if (symbolicId != null) {
|
||||
artifactIdRaw = symbolicId
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user