<commit_before>package com.nhpatt.asde.async.interactors;

import com.nhpatt.asde.async.services.ApiaryService;
import com.nhpatt.asde.models.Event;

import java.util.List;

import rx.Observable;

/**
 * @author <NAME>
 */
public class EventInteractor extends AbstractInteractor {

    private ApiaryService apiaryService = getApiary().create(ApiaryService.class);

    public Observable<List<Event>> search() {
        return apiaryService.getEventList();
    }

    public Observable searchById(String eventId) {
        return apiaryService.getEventWithId(eventId);
    }
}<commit_msg>final variable<commit_after>package com.nhpatt.asde.async.interactors;

import com.nhpatt.asde.async.services.ApiaryService;
import com.nhpatt.asde.models.Event;

import java.util.List;

import rx.Observable;

/**
 * @author <NAME>
 */
public class EventInteractor extends AbstractInteractor {

    private final ApiaryService apiaryService = getApiary().create(ApiaryService.class);

    public Observable<List<Event>> search() {
        return apiaryService.getEventList();
    }

    public Observable searchById(String eventId) {
        return apiaryService.getEventWithId(eventId);
    }
}
{'fraction_non_alphanumeric': 0.10650887573964497, 'fraction_numerical': 0.0, 'mean_word_length': 4.406392694063927, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '260117', 'n_tokens_mistral': 367, 'n_tokens_neox': 359, 'n_words': 66}