<commit_before>package me.panavtec.cleancontacts.domain;

import me.panavtec.cleancontacts.domain.interactors.Interactor;
import me.panavtec.cleancontacts.domain.interactors.InteractorInvoker;
import me.panavtec.cleancontacts.domain.interactors.InteractorPriority;
import com.path.android.jobqueue.Job;
import com.path.android.jobqueue.JobManager;
import com.path.android.jobqueue.Params;

public class InteractorInvokerImp implements InteractorInvoker {

    private JobManager jobManager;

    public InteractorInvokerImp(JobManager jobManager) {
        this.jobManager = jobManager;
    }

    @Override public void invoke(Interactor interactor) {
        execute(interactor, InteractorPriority.MEDIUM);
    }

    @Override public void execute(Interactor interactor, InteractorPriority priority) {
        jobManager.addJob(interactorToJob(interactor, priority));
    }

    private Job interactorToJob(Interactor interactor, InteractorPriority priority) {
        Params params = new Params(priority.getPriorityValue());
        return new InteractorJobImp(params, interactor);
    }

}<commit_msg>invoke renaming<commit_after>package me.panavtec.cleancontacts.domain;

import me.panavtec.cleancontacts.domain.interactors.Interactor;
import me.panavtec.cleancontacts.domain.interactors.InteractorInvoker;
import me.panavtec.cleancontacts.domain.interactors.InteractorPriority;
import com.path.android.jobqueue.Job;
import com.path.android.jobqueue.JobManager;
import com.path.android.jobqueue.Params;

public class InteractorInvokerImp implements InteractorInvoker {

    private JobManager jobManager;

    public InteractorInvokerImp(JobManager jobManager) {
        this.jobManager = jobManager;
    }

    @Override public void invoke(Interactor interactor) {
        invoke(interactor, InteractorPriority.MEDIUM);
    }

    @Override public void invoke(Interactor interactor, InteractorPriority priority) {
        jobManager.addJob(interactorToJob(interactor, priority));
    }

    private Job interactorToJob(Interactor interactor, InteractorPriority priority) {
        Params params = new Params(priority.getPriorityValue());
        return new InteractorJobImp(params, interactor);
    }

}
{'fraction_non_alphanumeric': 0.0806159420289855, 'fraction_numerical': 0.0, 'mean_word_length': 4.906417112299465, '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': '7061963', 'n_tokens_mistral': 633, 'n_tokens_neox': 607, 'n_words': 115}