<commit_before>package com.malibu.sample.springSecurity.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.malibu.sample.springSecurity.entity.User;
import com.malibu.sample.springSecurity.repository.UserRepository;

@Service
public class UserService {
	
	@Autowired
	UserRepository userRepository;
	
	@Transactional(readOnly=true)
	public Iterable<User> getAll() {
		return userRepository.findAll();
	}
	
	@Transactional
	public User get(String userId) {
		return userRepository.findOne(userId);
	}
}<commit_msg>Update UserService.java<commit_after>package com.malibu.sample.springSecurity.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.malibu.sample.springSecurity.entity.User;
import com.malibu.sample.springSecurity.repository.UserRepository;

@Service
public class UserService {
	
	@Autowired
	UserRepository userRepository;
	
	@Transactional(readOnly=true)
	public Iterable<User> getAll() {
		return userRepository.findAll();
	}
	
	@Transactional(readOnly=true)
	public User get(String userId) {
		return userRepository.findOne(userId);
	}
}
{'fraction_non_alphanumeric': 0.0967982129560685, 'fraction_numerical': 0.0, 'mean_word_length': 6.68, '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': '4049747', 'n_tokens_mistral': 397, 'n_tokens_neox': 391, 'n_words': 65}