protected function setFinishDataNoErrors(array &$result, array &$job)
    {
        if (empty($job['errors'])) {

            if (!empty($job['redirect']['finish'])) {
                $result['redirect'] = $job['redirect']['finish'];
            } else if (!empty($job['redirect']['no_results']) && empty($job['inserted']) && empty($job['updated'])) {
                $result['redirect'] = $job['redirect']['no_results'];
            }

            if (empty($job['redirect_message']['finish'])) {
                $vars = array('%total' => $job['total']);
                $message = $this->translation->text('Successfully processed %total items', $vars);
            } else {
                $vars = array('%total' => $job['total'], '%inserted' => $job['inserted'], '%updated' => $job['updated']);
                $message = $this->translation->text($job['redirect_message']['finish'], $vars);
            }

            if (!empty($job['redirect_message']['no_results']) && empty($job['inserted']) && empty($job['updated'])) {
                $vars = array('%total' => $job['total']);
                $message = $this->translation->text($job['redirect_message']['no_results'], $vars);
            }

            $this->session->setMessage($message, 'success');
        }
    }