Set<IFileStore> files = new HashSet<IFileStore>();
File file = File.createTempFile(tmpFilePrefix, ".rb");
FileWriter writer = new FileWriter(file);
writer.write(indexFileSrc);
writer.close();
<BUG>files.add(EFS.getStore(file.toURI()));
Index testIndex = getTestIndex();
rfip.index(files, testIndex, new NullProgressMonitor());
indicesforTesting.add(testIndex);</BUG>
}

Set<IFileStore> files = new HashSet<IFileStore>();
File file = File.createTempFile(tmpFilePrefix, ".rb");
FileWriter writer = new FileWriter(file);
writer.write(indexFileSrc);
writer.close();
IFileStore fileStore = EFS.getStore(file.toURI());
files.add(fileStore);
Index testIndex = getTestIndex();
rfip.indexSource(testIndex, new FileStoreBuildContext(fileStore), indexFileSrc, new NullProgressMonitor());
indicesforTesting.add(testIndex);
