public static void updateAllChanged(@NotNull final UpdatedFiles updatedFiles) {
FilesToRefreshCollector callback = new FilesToRefreshCollector();
UpdateFilesHelper.iterateFileGroupFilesDeletedOnServerFirst(updatedFiles, callback);
refreshDeletedOrReplaced(callback.getToRefreshDeletedOrReplaced());
refreshFiles(callback.getToRefresh());
<BUG>}
private static void refreshFiles(@NotNull Collection<File> files) {
</BUG>
Collection<VirtualFile> filesToRefresh = ContainerUtil.newHashSet();
for (File file : files) {

public static void updateAllChanged(@NotNull final UpdatedFiles updatedFiles) {
FilesToRefreshCollector callback = new FilesToRefreshCollector();
UpdateFilesHelper.iterateFileGroupFilesDeletedOnServerFirst(updatedFiles, callback);
refreshDeletedOrReplaced(callback.getToRefreshDeletedOrReplaced());
refreshFiles(callback.getToRefresh());
}
@NotNull
public static Collection<VirtualFile> refreshFiles(@NotNull Collection<File> files) {
Collection<VirtualFile> filesToRefresh = ContainerUtil.newHashSet();
for (File file : files) {
