void () { List<FilePath> deletedFiles = myProcessor.acquireDeletedFiles(); LOG.debug("executeDelete ", deletedFiles); VcsShowConfirmationOption.Value removeOption = myRemoveOption.getValue(); if (removeOption == VcsShowConfirmationOption.Value.DO_NOTHING_SILENTLY) return; deletedFiles.removeIf(myVcsIgnoreManager::isPotentiallyIgnoredFile); List<FilePath> filesToProcess = selectFilePathsToDelete(deletedFiles); if (filesToProcess.isEmpty()) return; performDeletion(filesToProcess); }