mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[find in files] IJPL-190828 fix stackoverflow on getPath of ThinClientNavBarDirectory
GitOrigin-RevId: 3609cddecfc361ae1c89446215cf0bc95d6299a2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9f9d32631b
commit
addcc74a67
@@ -98,6 +98,7 @@ public final class FindInProjectUtil {
|
||||
|
||||
if (psiElement instanceof PsiDirectory) {
|
||||
directoryName = ((PsiDirectory)psiElement).getVirtualFile().getPresentableUrl();
|
||||
if (directoryName.isEmpty()) directoryName = null;
|
||||
}
|
||||
|
||||
if (directoryName == null && psiElement instanceof PsiDirectoryContainer) {
|
||||
|
||||
Reference in New Issue
Block a user