mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KMT-643 [compose resources] getContainingFile can be null
(cherry picked from commit 54e6fb0b9aec49bb7e509d9c14abcd995bdb679a) GitOrigin-RevId: 950293da0f09b32216b40978609ccd2289d77a30
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c9f9d1bdb2
commit
656150b702
+1
-1
@@ -62,7 +62,7 @@ private fun KtSimpleNameExpression.getFoldingDescriptor(): FoldingDescriptor? {
|
||||
|
||||
private fun getResourcePlaceholderText(psiElements: List<PsiElement>): String? {
|
||||
val sortedPsiElements = psiElements.sortedBy { psiElement ->
|
||||
psiElement.containingFile.parent?.name != ResourceType.STRING.dirName
|
||||
psiElement.containingFile?.parent?.name != ResourceType.STRING.dirName
|
||||
}
|
||||
|
||||
for (psiElement in sortedPsiElements) {
|
||||
|
||||
Reference in New Issue
Block a user