diff --git a/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java b/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java index 436fdb93f36f..a57ef8b09ba2 100644 --- a/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java +++ b/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java @@ -729,7 +729,7 @@ public class FileBasedIndexImpl extends FileBasedIndex { return processAllKeys(indexId, processor, project != null ? GlobalSearchScope.allScope(project) : new EverythingGlobalScope(), null); } - public boolean processAllKeys(@NotNull ID indexId, Processor processor, @NotNull GlobalSearchScope scope, @Nullable IdFilter idFilter) { + public boolean processAllKeys(@NotNull ID indexId, @NotNull Processor processor, @NotNull GlobalSearchScope scope, @Nullable IdFilter idFilter) { try { final UpdatableIndex 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> ids = myFileType2IndicesWithFileTypeInfoMap.get(fileType); if (ids == null) ids = myIndicesWithoutFileTypeInfo; return ids;