add DumbService.filterByDumbAwareness(T[])
[idea/community.git] / java / java-psi-impl / src / com / intellij / psi / impl / JavaPsiFacadeImpl.java
index ca19d9766eb8572e742d138ab8e0268374f05b81..aa389214205a7cf04e18b951f662b41887008afd 100644 (file)
@@ -196,7 +196,7 @@ public class JavaPsiFacadeImpl extends JavaPsiFacadeEx {
     DumbService dumbService = DumbService.getInstance(getProject());
     PsiElementFinder[] finders = finders();
     if (dumbService.isDumb()) {
-      List<PsiElementFinder> list = dumbService.filterByDumbAwareness(Arrays.asList(finders));
+      List<PsiElementFinder> list = dumbService.filterByDumbAwareness(finders);
       finders = list.toArray(new PsiElementFinder[list.size()]);
     }
     return finders;