diagnostics for EA-15623 - assert: LocalSearchScope.<init>

This commit is contained in:
anna
2011-04-15 20:24:52 +02:00
parent b4a99e051b
commit 5270994610
@@ -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());
}