From 21b4e09ff0f3b51fcbfa38e874b09b6ea2c6719d Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Thu, 24 Oct 2019 08:53:45 +0200 Subject: [PATCH] deprecate FileBasedIndex.findFileById GitOrigin-RevId: 7bc01490669bf3c521300efcdd65f60800cdadd1 --- .../src/com/intellij/util/indexing/FileBasedIndex.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/indexing-api/src/com/intellij/util/indexing/FileBasedIndex.java b/platform/indexing-api/src/com/intellij/util/indexing/FileBasedIndex.java index 574f78b58297..843d5e17a39c 100644 --- a/platform/indexing-api/src/com/intellij/util/indexing/FileBasedIndex.java +++ b/platform/indexing-api/src/com/intellij/util/indexing/FileBasedIndex.java @@ -58,7 +58,10 @@ public abstract class FileBasedIndex { throw new IllegalArgumentException("Virtual file doesn't support id: " + file + ", implementation class: " + file.getClass().getName()); } - // note: upsource implementation requires access to Project here, please don't remove + /** + * @deprecated see {@link ManagingFS#findFileById(int)} + */ // note: upsource implementation requires access to Project here, please don't remove (not anymore) + @Deprecated public abstract VirtualFile findFileById(Project project, int id); public void requestRebuild(@NotNull ID indexId) {