This commit is contained in:
peter
2013-10-04 18:17:11 +02:00
parent a53e0ea2ea
commit 36845f0fa2
@@ -729,7 +729,7 @@ public class FileBasedIndexImpl extends FileBasedIndex {
return processAllKeys(indexId, processor, project != null ? GlobalSearchScope.allScope(project) : new EverythingGlobalScope(), null);
}
public <K> boolean processAllKeys(@NotNull ID<K, ?> indexId, Processor<K> processor, @NotNull GlobalSearchScope scope, @Nullable IdFilter idFilter) {
public <K> boolean processAllKeys(@NotNull ID<K, ?> indexId, @NotNull Processor<K> processor, @NotNull GlobalSearchScope scope, @Nullable IdFilter idFilter) {
try {
final UpdatableIndex<K, ?, FileContent> index = getIndex(indexId);
if (index == null) {
@@ -1741,9 +1741,6 @@ public class FileBasedIndexImpl extends FileBasedIndex {
}
FileType fileType = file.getFileType();
if(isProjectOrWorkspaceFile(file, fileType)) return Collections.emptyList();
if (fileType == StdFileTypes.HTML || fileType == StdFileTypes.XML) {
int a = 1;
}
List<ID<?, ?>> ids = myFileType2IndicesWithFileTypeInfoMap.get(fileType);
if (ids == null) ids = myIndicesWithoutFileTypeInfo;
return ids;