<commit_before>package org.littlewings.javaee7.cdi;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Typed;
import javax.inject.Inject;

/*
// スコープアノテーションを変更
// @ApplicationScoped
@Dependent
public class DecorationService {
    private StringJoinService joiner;

    @Inject
    public DecorationService(StringJoinService joiner) {
        this.joiner = joiner;
    }

    // デフォルトコンストラクタは削除
    // public DecorationService() { }

    public String join(String prefix, String suffix, String... tokens) {
        return prefix + joiner.join(", ", tokens) + suffix;
    }
}
*/

public interface DecorationService {
    String join(String prefix, String suffix, String... tokens);
}

@Typed(DecorationService.class)
@ApplicationScoped
class DecorationServiceImpl implements DecorationService {
    private StringJoinService joiner;

    @Inject
    public DecorationServiceImpl(StringJoinService joiner) {
        this.joiner = joiner;
    }

    public String join(String prefix, String suffix, String... tokens) {
        return prefix + joiner.join(", ", tokens) + suffix;
    }
}<commit_msg>fix, missing @Override.<commit_after>package org.littlewings.javaee7.cdi;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Typed;
import javax.inject.Inject;

/*
// スコープアノテーションを変更
// @ApplicationScoped
@Dependent
public class DecorationService {
    private StringJoinService joiner;

    @Inject
    public DecorationService(StringJoinService joiner) {
        this.joiner = joiner;
    }

    // デフォルトコンストラクタは削除
    // public DecorationService() { }

    public String join(String prefix, String suffix, String... tokens) {
        return prefix + joiner.join(", ", tokens) + suffix;
    }
}
*/

public interface DecorationService {
    String join(String prefix, String suffix, String... tokens);
}

@Typed(DecorationService.class)
@ApplicationScoped
class DecorationServiceImpl implements DecorationService {
    private StringJoinService joiner;

    @Inject
    public DecorationServiceImpl(StringJoinService joiner) {
        this.joiner = joiner;
    }

    @Override
    public String join(String prefix, String suffix, String... tokens) {
        return prefix + joiner.join(", ", tokens) + suffix;
    }
}
{'fraction_non_alphanumeric': 0.09906858594411516, 'fraction_numerical': 0.000846740050804403, 'mean_word_length': 3.697813121272366, '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': '6652172', 'n_tokens_mistral': 709, 'n_tokens_neox': 711, 'n_words': 161}