List<VcsException> (final AbstractVcs vcs, final List<? extends FilePath> files) { CheckinEnvironment environment = vcs.getCheckinEnvironment(); if (environment == null) return Collections.emptyList(); final List<VcsException> result = environment.scheduleMissingFileForDeletion(files); if (result == null) return Collections.emptyList(); return result; }