mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for EA-15623 - assert: LocalSearchScope.<init>
This commit is contained in:
@@ -63,7 +63,7 @@ public class LocalSearchScope extends SearchScope {
|
||||
Set<PsiElement> localScope = new LinkedHashSet<PsiElement>(scope.length);
|
||||
|
||||
for (final PsiElement element : scope) {
|
||||
LOG.assertTrue(element.getContainingFile() != null);
|
||||
LOG.assertTrue(element.getContainingFile() != null, element.getClass().getName());
|
||||
if (element instanceof PsiFile) {
|
||||
ContainerUtil.addAll(localScope, ((PsiFile)element).getPsiRoots());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user