correct number of files to be analysed

This commit is contained in:
anna
2011-07-18 16:06:21 +04:00
parent e3d08d83b0
commit 1299ea0d4b
@@ -184,6 +184,7 @@ public class AnalysisScope {
return;
}
}
if (!ProblemHighlightFilter.shouldHighlightFile(file)) return;
myFilesSet.add(virtualFile);
if (indicator != null) {
indicator.setText(AnalysisScopeBundle.message("scanning.scope.progress.title"));
@@ -363,7 +364,6 @@ public class AnalysisScope {
@SuppressWarnings({"SimplifiableIfStatement"})
public boolean processFile(final VirtualFile fileOrDir) {
if (!myIncludeTestSource && index.isInTestSourceContent(fileOrDir)) return true;
if (index.isInLibraryClasses(fileOrDir) || index.isInLibrarySource(fileOrDir)) return true;
if (!fileOrDir.isDirectory()) {
return AnalysisScope.processFile(fileOrDir, visitor, psiManager, needReadAction);
}