<commit_before>package speciemongo.net.speciemongo;

import android.app.Application;

/**
 * Created by johannesklein on 10.08.16.
 */
public class SgApplication extends Application {
}<commit_msg>Enable strict mode in Debug builds<commit_after>package speciemongo.net.speciemongo;

import android.app.Application;
import android.os.StrictMode;

/**
 * The {@link Application} implementation for the app.
 */
public class SgApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        // If we are in debug mode,
        if(BuildConfig.DEBUG) {

            // Enable strict mode
            StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
                    .detectAll()
                    .penaltyLog()
                    .build());
            StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
                    .detectAll()
                    .penaltyLog()
                    .build());

        }
    }
}
{'fraction_non_alphanumeric': 0.09778225806451613, 'fraction_numerical': 0.006048387096774193, 'mean_word_length': 2.0553846153846154, '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': '3108659', 'n_tokens_mistral': 278, 'n_tokens_neox': 258, 'n_words': 62}