and we have no right now to use cached VirtualFile

This commit is contained in:
peter
2010-07-04 23:22:25 +01:00
parent 30f928c0b9
commit 7190cca9a6
@@ -25,9 +25,11 @@ public abstract class IndexableSetContributor implements IndexedRootsProvider {
}
public static Set<VirtualFile> getRootsToIndex(IndexedRootsProvider provider) {
/*
if (provider instanceof IndexableSetContributor) {
return ((IndexableSetContributor)provider).getAdditionalRootsToIndex();
}
*/
final HashSet<VirtualFile> result = new HashSet<VirtualFile>();
for (String url : provider.getRootsToIndex()) {