<commit_before>package com.github.dreamhead.moco;

public class MocoEventTrigger implements ConfigApplier<MocoEventTrigger> {
    private final MocoEvent event;
    private final MocoEventAction action;

    public MocoEventTrigger(final MocoEvent event, final MocoEventAction action) {
        this.event = event;
        this.action = action;
    }

    public boolean isFor(final MocoEvent event) {
        return this.event == event;
    }

    public void fireEvent(final Request request) {
        action.execute(request);
    }

    @Override
    public MocoEventTrigger apply(final MocoConfig config) {
        MocoEventAction appliedAction = this.action.apply(config);
        if (appliedAction != this.action) {
            return new MocoEventTrigger(event, appliedAction);
        }

        return this;
    }
}
<commit_msg>added missing final to event trigger<commit_after>package com.github.dreamhead.moco;

public final class MocoEventTrigger implements ConfigApplier<MocoEventTrigger> {
    private final MocoEvent event;
    private final MocoEventAction action;

    public MocoEventTrigger(final MocoEvent event, final MocoEventAction action) {
        this.event = event;
        this.action = action;
    }

    public boolean isFor(final MocoEvent event) {
        return this.event == event;
    }

    public void fireEvent(final Request request) {
        action.execute(request);
    }

    @Override
    public MocoEventTrigger apply(final MocoConfig config) {
        MocoEventAction appliedAction = this.action.apply(config);
        if (appliedAction != this.action) {
            return new MocoEventTrigger(event, appliedAction);
        }

        return this;
    }
}

{'fraction_non_alphanumeric': 0.0739870816206694, 'fraction_numerical': 0.0, 'mean_word_length': 2.972027972027972, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7661626', 'n_tokens_mistral': 469, 'n_tokens_neox': 454, 'n_words': 122}