<commit_before>package bg.car_wash.areas.car.service;

import bg.car_wash.areas.car.entity.Car;
import bg.car_wash.areas.car.exception.CarDBEmptyException;
import bg.car_wash.areas.car.exception.CarNotCreateException;
import bg.car_wash.areas.car.exception.CarNotFoundException;

import java.util.List;

public interface CarService {

	void createCar(Car car) throws CarNotCreateException;

	List<Car> findAllCars() throws CarDBEmptyException;

	void deleteCarById(Long id) throws CarNotFoundException;
}<commit_msg>create findCarById and implementation!<commit_after>package bg.car_wash.areas.car.service;

import bg.car_wash.areas.car.entity.Car;
import bg.car_wash.areas.car.exception.CarDBEmptyException;
import bg.car_wash.areas.car.exception.CarNotCreateException;
import bg.car_wash.areas.car.exception.CarNotFoundException;

import java.util.List;

public interface CarService {

	void createCar(Car car) throws CarNotCreateException;

	List<Car> findAllCars() throws CarDBEmptyException;

	void deleteCarById(Long id) throws CarNotFoundException;

	Car findCarById(Long id) throws CarNotFoundException;
}
{'fraction_non_alphanumeric': 0.08984725965858041, 'fraction_numerical': 0.0, 'mean_word_length': 6.900709219858156, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3400256', 'n_tokens_mistral': 367, 'n_tokens_neox': 348, 'n_words': 66}