<commit_before>package br.leosilvadev.gchat.manager

import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component

import br.leosilvadev.gchat.repositories.RoleRepository

@Component
class RoleManager {
	
	private static final String USER_ROLE = "USER";
	private static final String ADMIN_ROLE = "ADMIN";
	
	@Autowired RoleRepository repository
	
	def userRole(){
		repository.findOneByName(USER_ROLE)
	}
	
	def adminRole(){
		repository.findOneByName(USER_ROLE)
	}
	
}<commit_msg>Wrong role name<commit_after>package br.leosilvadev.gchat.manager

import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component

import br.leosilvadev.gchat.repositories.RoleRepository

@Component
class RoleManager {
	
	private static final String USER_ROLE = "ROLE_USER";
	private static final String ADMIN_ROLE = "ROLE_ADMIN";
	
	@Autowired RoleRepository repository
	
	def userRole(){
		repository.findOneByName(USER_ROLE)
	}
	
	def adminRole(){
		repository.findOneByName(USER_ROLE)
	}
	
}
{'fraction_non_alphanumeric': 0.08208955223880597, 'fraction_numerical': 0.0, 'mean_word_length': 5.748427672955975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4554648', 'n_tokens_mistral': 358, 'n_tokens_neox': 342, 'n_words': 66}