<commit_before>package com.hotels.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hotels.models.Hotel;
import com.hotels.repositories.HotelRepository;
import java.util.List;

@Service
public class HotelServiceImpl implements HotelService {
    @Autowired
    private HotelRepository repository;

    @Override
    public Hotel save(Hotel entity) {
        return this.repository.save(entity);
    }

    @Override
    public List<Hotel> getAll() {
        return this.repository.findAll();
    }
<commit_msg>Update HotelServiceImpl.java<commit_after>package com.hotelsamdrooms.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hotelsamdrooms.models.Hotel;
import com.hotelsamdrooms.repositories.HotelRepository;
import java.util.List;

@Service
public class HotelServiceImpl implements HotelService {
    @Autowired
    private HotelRepository repository;

    @Override
    public Hotel save(Hotel entity) {
        return this.repository.save(entity);
    }

    @Override
    public List<Hotel> getAll() {
        return this.repository.findAll();
    }

{'fraction_non_alphanumeric': 0.0874897792313982, 'fraction_numerical': 0.0, 'mean_word_length': 4.298701298701299, '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': '2146259', 'n_tokens_mistral': 340, 'n_tokens_neox': 344, 'n_words': 71}