<commit_before>import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

class DataManager {
    private static DataManager dataManager = null;
    private String adbLocation;
    private List<String> adbDevicesList;
    private int defaultAdbDeviceIndex;
    private boolean mac = false;

    private static DataManager getInstance() {
        if (dataManager == null) {
            dataManager = new DataManager();
            loadAdb();
            updateAdbDeviceList();
            getInstance().defaultAdbDeviceIndex = -1;
            if (System.getProperty("os.name").toLowerCase().contains("mac") || System.getProperty("os.name").toLowerCase().contains("os x")) {
                getInstance().mac = true;
            }
        }
        return dataManager;
    }

    static String getOutputPath(String fileName) {
        return System.getenv("HOME") + "/Desktop/" + fileName;
    }

    private static void loadAdb() {
        String path;
        if (System.getenv("ANDROID_HOME") != null) {
            path = System.getenv("ANDROID_HOME") + "platform-tools/";
        } else {
            throw new RuntimeException("Environment variable \"ANDROID_HOME\" not set, adb not found");<commit_msg>add accidentally deleted private constructor to DataManager<commit_after>import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

class DataManager {
    private static DataManager dataManager = null;
    private String adbLocation;
    private List<String> adbDevicesList;
    private int defaultAdbDeviceIndex;
    private boolean mac = false;

    private DataManager() {
    }

    private static DataManager getInstance() {
        if (dataManager == null) {
            dataManager = new DataManager();
            loadAdb();
            updateAdbDeviceList();
            getInstance().defaultAdbDeviceIndex = -1;
            if (System.getProperty("os.name").toLowerCase().contains("mac") || System.getProperty("os.name").toLowerCase().contains("os x")) {
                getInstance().mac = true;
            }
        }
        return dataManager;
    }

    static String getOutputPath(String fileName) {
        return System.getenv("HOME") + "/Desktop/" + fileName;
    }

    private static void loadAdb() {
        String path;
        if (System.getenv("ANDROID_HOME") != null) {
            path = System.getenv("ANDROID_HOME") + "platform-tools/";
        } else {
            throw new RuntimeException("Environment variable \"ANDROID_HOME\" not set, adb not found");
{'fraction_non_alphanumeric': 0.11295681063122924, 'fraction_numerical': 0.0007382798080472499, 'mean_word_length': 2.7327823691460056, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '194539', 'n_tokens_mistral': 723, 'n_tokens_neox': 723, 'n_words': 177}