VirtualFile vf = findFirstValidVirtualParent(file);
if (vf != null) {
filesToRefresh.add(vf);
}
}
<BUG>VfsUtil.markDirtyAndRefresh(false, false, false, ArrayUtil.toObjectArray(filesToRefresh, VirtualFile.class));
}</BUG>
private static void refreshDeletedOrReplaced(@NotNull Collection<File> deletedOrReplaced) {
Collection<VirtualFile> filesToRefresh = ContainerUtil.newHashSet();
for (File file : deletedOrReplaced) {

VirtualFile vf = findFirstValidVirtualParent(file);
if (vf != null) {
filesToRefresh.add(vf);
}
}
VfsUtil.markDirtyAndRefresh(false, false, false, ArrayUtil.toObjectArray(filesToRefresh, VirtualFile.class));
return filesToRefresh;
}
private static void refreshDeletedOrReplaced(@NotNull Collection<File> deletedOrReplaced) {
Collection<VirtualFile> filesToRefresh = ContainerUtil.newHashSet();
for (File file : deletedOrReplaced) {
