void () { assert getProject() != null; if (getProject().isDisposed()) return; getApplication().invokeLater(() -> getApplication().runWriteAction(() -> { if (!getProject().isDisposed()) { LocalFileSystem.getInstance().refreshFiles(myRoots, false, true, null); } })); markFilesDirty(getProject(), myRoots); if (!myExceptions.isEmpty()) { AbstractVcsHelper.getInstance(getProject()).showErrors( myExceptions.stream() .map(pair -> new VcsException( message("action.Subversion.cleanup.error.message", toSystemDependentName(pair.second.getPath()), pair.first == null ? "" : pair.first.getMessage()))) .collect(toList()), getTitle()); } }