<commit_before>package svc.managers;

import java.util.List;

import javax.inject.Inject;

import org.springframework.stereotype.Component;

import svc.data.municipal.MunicipalityDAO;
import svc.models.Municipality;

@Component
public class MunicipalityManager {
	@Inject
	private MunicipalityDAO municipalityDAO;
	
	public List<Municipality> GetMunicipalitiesByCourtId(Long courtId){
		return municipalityDAO.getByCourtId(courtId);
	}
	
	public Municipality GetMunicipalityById(Long municipalityId){
		return municipalityDAO.getByMunicipalityId(municipalityId);
	}

	public List<Municipality> GetAllMunicipalities(Boolean getSupportedOnly) {
		return municipalityDAO.getAllMunicipalities(getSupportedOnly);
	}
}<commit_msg>updated varialbe to match other variable names (#36)<commit_after>package svc.managers;

import java.util.List;

import javax.inject.Inject;

import org.springframework.stereotype.Component;

import svc.data.municipal.MunicipalityDAO;
import svc.models.Municipality;

@Component
public class MunicipalityManager {
	@Inject
	private MunicipalityDAO municipalityDAO;
	
	public List<Municipality> GetMunicipalitiesByCourtId(Long courtId){
		return municipalityDAO.getByCourtId(courtId);
	}
	
	public Municipality GetMunicipalityById(Long municipalityId){
		return municipalityDAO.getByMunicipalityId(municipalityId);
	}

	public List<Municipality> GetAllMunicipalities(Boolean supported) {
		return municipalityDAO.getAllMunicipalities(supported);
	}
}
{'fraction_non_alphanumeric': 0.07671418873048201, 'fraction_numerical': 0.0013577732518669382, 'mean_word_length': 7.471264367816092, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6434315', 'n_tokens_mistral': 486, 'n_tokens_neox': 449, 'n_words': 83}