void () { if (myAddedFiles.isEmpty() || myDeletedFiles.isEmpty()) return; final Iterator<AddedFileInfo> iterator = myAddedFiles.iterator(); while (iterator.hasNext()) { AddedFileInfo addedFileInfo = iterator.next(); final File ioFile = new File(addedFileInfo.myDir.getPath(), addedFileInfo.myName); if (myDeletedFiles.remove(ioFile)) { iterator.remove(); } } }