<commit_before>package com.dat.flyingsaucer.network;

import retrofit.RestAdapter;

/**
 * Created by davidthacker on 5/23/15.
 */
public class SaucerRestAdapter {

    public SaucerService service;

    public SaucerRestAdapter() {

        RestAdapter restAdapter = new RestAdapter.Builder().setEndpoint(SaucerService.BASE_ENDPOINT).build();
        service = restAdapter.create(SaucerService.class);

    }

}<commit_msg>Rest callback added to start managing specific endpoint callbacks<commit_after>package com.dat.flyingsaucer.network;

import com.dat.flyingsaucer.data.model.BaseModel;
import com.dat.flyingsaucer.data.model.Store;

import java.util.List;

import retrofit.RestAdapter;

/**
 * Created by davidthacker on 5/23/15.
 */
public class SaucerRestAdapter {

    private SaucerService service;

    public SaucerRestAdapter() {

        RestAdapter restAdapter = new RestAdapter.Builder().setEndpoint(SaucerService.BASE_ENDPOINT).build();
        service = restAdapter.create(SaucerService.class);

    }

    public interface RestCallback<T extends BaseModel>{

        T onSuccess();
        void onError();

    }
}
{'fraction_non_alphanumeric': 0.09796999117387467, 'fraction_numerical': 0.0088261253309797, 'mean_word_length': 3.909090909090909, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5760835', 'n_tokens_mistral': 344, 'n_tokens_neox': 325, 'n_words': 69}