<commit_before>package de.gedoplan.workshop.presentation;

import java.util.List;

import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.inject.Named;

import de.gedoplan.workshop.domain.SpecialDay;
import de.gedoplan.workshop.persistence.SpecialDayRepository;

/**
 * @author GHajba 2014 nov. 3
 *
 */
@Named(value = "specialDayPresenter")
@RequestScoped
public class SpecialDayPresenter {

    @Inject
    private SpecialDayRepository specialDayRepository;

    public List<SpecialDay> getSpecialDays() {
        return this.specialDayRepository.findAll();<commit_msg>init with postconstruct<commit_after>package de.gedoplan.workshop.presentation;

import java.util.List;

import javax.annotation.PostConstruct;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.inject.Named;

import de.gedoplan.workshop.domain.SpecialDay;
import de.gedoplan.workshop.persistence.SpecialDayRepository;

/**
 * @author GHajba 2014 nov. 3
 *
 */
@Named(value = "specialDayPresenter")
@RequestScoped
public class SpecialDayPresenter {

    @Inject
    private SpecialDayRepository specialDayRepository;

    private List<SpecialDay> specialDays;

    public List<SpecialDay> getSpecialDays() {
        return this.specialDays;
    }

    @PostConstruct
    void init() {
        this.specialDays = this.specialDayRepository.findAll();
{'fraction_non_alphanumeric': 0.09575233981281497, 'fraction_numerical': 0.007199424046076314, 'mean_word_length': 4.94017094017094, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '7322755', 'n_tokens_mistral': 425, 'n_tokens_neox': 399, 'n_words': 79}