mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user