Compilation fix (API changed in IDEA core)

This commit is contained in:
Maxim Shafirov
2012-01-19 14:16:02 +04:00
parent 792f2c18ee
commit 4dcf9eafaf
@@ -185,7 +185,7 @@ public class JavaElementFinder extends PsiElementFinder {
final FileTypeManager fileTypeManager = FileTypeManager.getInstance();
VirtualFile[] contentRoots = ProjectRootManager.getInstance(project).getContentRoots();
List<VirtualFile> contentRoots = Arrays.asList(ProjectRootManager.getInstance(project).getContentRoots());
CompilerPathsEx.visitFiles(contentRoots, new CompilerPathsEx.FileVisitor() {
@Override