void () { final FileGroup conflictedGroup = myUpdatedFiles.getGroupById(groupId); final Collection<String> conflictedFiles = conflictedGroup.getFiles(); final Collection<VirtualFile> parents = new ArrayList<>(); if ((conflictedFiles != null) && (! conflictedFiles.isEmpty())) { for (final String conflictedFile : conflictedFiles) { final File file = new File(conflictedFile); VirtualFile vf = myLfs.findFileByIoFile(file); if (vf == null) { vf = myLfs.refreshAndFindFileByIoFile(file); } if (vf != null) { myFiles.add(vf); final VirtualFile parent = vf.getParent(); if (parent != null) { parents.add(parent); } } } } if (! myFiles.isEmpty()) { RefreshQueue.getInstance().refresh(true, true, null, parents); myDirtyScopeManager.filesDirty(myFiles, null); } }