void () { if (myMovedFiles.isEmpty()) return; final Runnable runnable = () -> { for (Iterator<MovedFileInfo> iterator = myMovedFiles.iterator(); iterator.hasNext(); ) { MovedFileInfo movedFileInfo = iterator.next(); doMove(movedFileInfo.mySrc, movedFileInfo.myDst); iterator.remove(); } }; runInBackground(message("progress.title.moving.files.in.subversion"), runnable); }