<commit_before>package com.yandex.money;

import com.squareup.okhttp.OkHttpClient;
import com.yandex.money.net.Client;
import com.yandex.money.net.IRequest;

import java.io.IOException;
import java.util.concurrent.TimeUnit;

public class YandexMoney {

    private Client client;

    public YandexMoney() {
        client = new Client(defaultHttpClient());
    }

    public YandexMoney(OkHttpClient okHttpClient) {
        this.client = new Client(okHttpClient);
    }

    public void setDebugLogging(boolean debugLogging) {
        client.setDebugLogging(debugLogging);
    }

    public <T> T performRequest(IRequest<T> IRequest) throws IOException {
        return client.perform(IRequest);
    }

    private static final long TIMEOUT_IN_SEC = 30;

    private OkHttpClient defaultHttpClient() {
        OkHttpClient okHttpClient = new OkHttpClient();
        okHttpClient.setConnectTimeout(TIMEOUT_IN_SEC, TimeUnit.SECONDS);
        okHttpClient.setReadTimeout(TIMEOUT_IN_SEC, TimeUnit.SECONDS);
        return okHttpClient;
    }
}
<commit_msg>constructors modified<commit_after>package com.yandex.money;

import com.squareup.okhttp.OkHttpClient;
import com.yandex.money.net.Client;
import com.yandex.money.net.IRequest;

import java.io.IOException;
import java.util.concurrent.TimeUnit;

public class YandexMoney {

    private Client client;

    public YandexMoney() {
        this(defaultHttpClient());
    }

    public YandexMoney(OkHttpClient okHttpClient) {
        this.client = new Client(okHttpClient);
    }

    public void setDebugLogging(boolean debugLogging) {
        client.setDebugLogging(debugLogging);
    }

    public <T> T performRequest(IRequest<T> IRequest) throws IOException {
        return client.perform(IRequest);
    }

    private static final long TIMEOUT_IN_SEC = 30;

    private static OkHttpClient defaultHttpClient() {
        OkHttpClient okHttpClient = new OkHttpClient();
        okHttpClient.setConnectTimeout(TIMEOUT_IN_SEC, TimeUnit.SECONDS);
        okHttpClient.setReadTimeout(TIMEOUT_IN_SEC, TimeUnit.SECONDS);
        return okHttpClient;
    }
}

{'fraction_non_alphanumeric': 0.0868945868945869, 'fraction_numerical': 0.001899335232668566, 'mean_word_length': 3.6822222222222223, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1554427', 'n_tokens_mistral': 661, 'n_tokens_neox': 634, 'n_words': 124}