<commit_before>package com.grasp.service;

import com.grasp.dao.TutorDao;
import com.grasp.dao.UserDao;
import com.grasp.model.Tutor;
import com.grasp.model.User;
import com.grasp.util.CollectionHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class TutorService {

    private TutorDao tutorDao;
    private UserDao userDao;

    @Autowired
    public TutorService(TutorDao tutorDao, UserDao userDao) {
        this.tutorDao = tutorDao;
        this.userDao = userDao;
    }

    public List<Tutor> getAllTutorEntries() {
        List<Tutor> tutors = (List<Tutor>) tutorDao.findAll();

        if (CollectionHelper.isEmpty(tutors)) {
            return new ArrayList<>();
        }

        return tutors;
    }

    public List<User> getAllTutors() {
<commit_msg>Remove unused tutor service method<commit_after>package com.grasp.service;

import com.grasp.dao.TutorDao;
import com.grasp.dao.UserDao;
import com.grasp.model.Tutor;
import com.grasp.model.User;
import com.grasp.util.CollectionHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class TutorService {

    private TutorDao tutorDao;
    private UserDao userDao;

    @Autowired
    public TutorService(TutorDao tutorDao, UserDao userDao) {
        this.tutorDao = tutorDao;
        this.userDao = userDao;
    }

    public List<User> getAllTutors() {

{'fraction_non_alphanumeric': 0.09811320754716982, 'fraction_numerical': 0.0, 'mean_word_length': 3.7777777777777777, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6074198', 'n_tokens_mistral': 523, 'n_tokens_neox': 531, 'n_words': 104}