<commit_before>package com.tutorialspoint.annotationbasedconfiguration;

import org.springframework.beans.factory.annotation.Autowired;

public class TextEditor {
  private SpellChecker spellChecker;

  @Autowired
  public void setSpellChecker(SpellChecker spellChecker) {
    this.spellChecker = spellChecker;
  }

  public SpellChecker getSpellChecker() {
    return spellChecker;
  }

  public void spellCheck() {
    spellChecker.checkSpelling();
  }
}<commit_msg>Added example about usage of @Autowired annotation on properties<commit_after>package com.tutorialspoint.annotationbasedconfiguration;

import org.springframework.beans.factory.annotation.Autowired;

public class TextEditor {

  @Autowired
  private SpellChecker spellChecker;

  public TextEditor() {
    System.out.println("Inside TextEditor constructor.");
  }

  @Autowired
  public void setSpellChecker(SpellChecker spellChecker) {
    this.spellChecker = spellChecker;
  }

  public SpellChecker getSpellChecker() {
    return spellChecker;
  }

  public void spellCheck() {
    spellChecker.checkSpelling();
  }
}
{'fraction_non_alphanumeric': 0.07904411764705882, 'fraction_numerical': 0.0, 'mean_word_length': 4.918478260869565, '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': '258557', 'n_tokens_mistral': 297, 'n_tokens_neox': 327, 'n_words': 66}