<commit_before>import org.springframework.beans.factory.annotation.Qualifier;
import javax.annotation.Resource

interface Animal{String name}
@Service
class Dog implements Animal{ void bark(){println "bark"}}
@Service
class Cat implements Animal{void meow(){println "meow"}}

@RestController
class Main{
	@Resource
	@Qualifier("dog")
	Animal animal

	@RequestMapping("/")
	public String hello(){
		return "hello world"
	}
}<commit_msg>updated code to deomonstrate Resource annotation for DI<commit_after>import org.springframework.beans.factory.annotation.Qualifier;
import javax.annotation.Resource

interface Animal{public void saySomething()}

@Service
class Dog implements Animal{ void saySomething(){println "bark"}}

@Service
class Cat implements Animal{void saySomething(){println "meow"}}

@RestController
class Main{

  @Resource
  @Qualifier("dog")
  Animal animal

  @RequestMapping("/")
  public String hello(){
	animal.saySomething()

	return "hello world"
  }
}
{'fraction_non_alphanumeric': 0.1117948717948718, 'fraction_numerical': 0.0, 'mean_word_length': 6.338345864661654, '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': '2600312', 'n_tokens_mistral': 281, 'n_tokens_neox': 270, 'n_words': 81}