From 7190cca9a6488c75f76a9fbbd2001b76b45d3a53 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 4 Jul 2010 23:22:25 +0100 Subject: [PATCH] and we have no right now to use cached VirtualFile --- .../src/com/intellij/util/indexing/IndexableSetContributor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/lang-impl/src/com/intellij/util/indexing/IndexableSetContributor.java b/platform/lang-impl/src/com/intellij/util/indexing/IndexableSetContributor.java index 3cf4d907d819..a20db92b0b48 100644 --- a/platform/lang-impl/src/com/intellij/util/indexing/IndexableSetContributor.java +++ b/platform/lang-impl/src/com/intellij/util/indexing/IndexableSetContributor.java @@ -25,9 +25,11 @@ public abstract class IndexableSetContributor implements IndexedRootsProvider { } public static Set getRootsToIndex(IndexedRootsProvider provider) { + /* if (provider instanceof IndexableSetContributor) { return ((IndexableSetContributor)provider).getAdditionalRootsToIndex(); } + */ final HashSet result = new HashSet(); for (String url : provider.getRootsToIndex()) {