<commit_before>package de.bitshares_munich.utils;

import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.NonNull;
import android.util.Log;
import android.util.TimeUtils;
import android.widget.Toast;

import com.itextpdf.text.ExceptionConverter;
import com.koushikdutta.async.callback.CompletedCallback;
import com.koushikdutta.async.http.AsyncHttpClient;
import com.koushikdutta.async.http.AsyncHttpGet;
import com.koushikdutta.async.http.Headers;
import com.koushikdutta.async.http.WebSocket;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.net.URI;
import java.net.URISyntaxException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Random;
import java.util.concurrent.TimeUnit;

import butterknife.ButterKnife;
import de.bitshares_munich.Interfaces.AssetDelegate;
import de.bitshares_munich.Interfaces.IAccount;
import de.bitshares_munich.Interfaces.IAccountID;
import de.bitshares_munich.Interfaces.IAccountObject;
import de.bitshares_munich.Interfaces.IAssetObject;
import de.bitshares_munich.Interfaces.IBalancesDelegate;
import de.bitshares_munich.Interfaces.IExchangeRate;
import de.bitshares_munich.Interfaces.IRelativeHistory;
import de.bitshares_munich.Interfaces.ITransactionObject;
import de.bitshares_munich.autobahn.WebSocketConnection;
import de.bitshares_munich.autobahn.WebSocketException;
import de.bitshares_munich.smartcoinswallet.R;

/**
 * Created by qasim on 5/9/16.
 */
public class Application extends android.app.Application implements de.bitshares_munich.autobahn.WebSocket.WebSocketConnectionObserver {

    public static Context context;
    static IAccount iAccount;
    static IExchangeRate iExchangeRate;
    static IBalancesDelegate iBalancesDelegate_transactionActivity;
    static IBalancesDelegate iBalancesDelegate_ereceiptActivity;
    static IBalancesDelegate iBalancesDelegate_assetsActivity;
    static AssetDelegate iAssetDelegate;
    static IAccountID iAccountID;
    static ITransactionObject iTransactionObject;
    static IAccountObject iAccountObject;
    static IAssetObject iAssetObject;
    static IRelativeHistory iRelativeHistory;
    public static String blockHead = "";
    private static Activity currentActivity;

    public static String urlsSocketConnection[] =
            {
                    "wss://de.blockpay.ch:8089",                // German node
                    "wss://fr.blockpay.ch:8089",               // France node
                    "wss://bitshares.openledger.info/ws",      // Openledger node
                    //"wss://bitshares.dacplay.org:8089/ws"
                    //,"https://dele-puppy.com/ws"
                    //,"https://valen-tin.fr:8090"
            };

    public static String monitorAccountId;

    private static Handler warningHandler = new Handler();


    public static void setCurrentActivity(Activity _activity) {
        Application.currentActivity = _activity;
    }

    public static Activity getCurrentActivity() {
        return Application.currentActivity;
    }

    @Override<commit_msg>Added new nodes<commit_after>package de.bitshares_munich.utils;

import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.NonNull;
import android.util.Log;
import android.util.TimeUtils;
import android.widget.Toast;

import com.itextpdf.text.ExceptionConverter;
import com.koushikdutta.async.callback.CompletedCallback;
import com.koushikdutta.async.http.AsyncHttpClient;
import com.koushikdutta.async.http.AsyncHttpGet;
import com.koushikdutta.async.http.Headers;
import com.koushikdutta.async.http.WebSocket;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.net.URI;
import java.net.URISyntaxException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Random;
import java.util.concurrent.TimeUnit;

import butterknife.ButterKnife;
import de.bitshares_munich.Interfaces.AssetDelegate;
import de.bitshares_munich.Interfaces.IAccount;
import de.bitshares_munich.Interfaces.IAccountID;
import de.bitshares_munich.Interfaces.IAccountObject;
import de.bitshares_munich.Interfaces.IAssetObject;
import de.bitshares_munich.Interfaces.IBalancesDelegate;
import de.bitshares_munich.Interfaces.IExchangeRate;
import de.bitshares_munich.Interfaces.IRelativeHistory;
import de.bitshares_munich.Interfaces.ITransactionObject;
import de.bitshares_munich.autobahn.WebSocketConnection;
import de.bitshares_munich.autobahn.WebSocketException;
import de.bitshares_munich.smartcoinswallet.R;

/**
 * Created by qasim on 5/9/16.
 */
public class Application extends android.app.Application implements de.bitshares_munich.autobahn.WebSocket.WebSocketConnectionObserver {

    public static Context context;
    static IAccount iAccount;
    static IExchangeRate iExchangeRate;
    static IBalancesDelegate iBalancesDelegate_transactionActivity;
    static IBalancesDelegate iBalancesDelegate_ereceiptActivity;
    static IBalancesDelegate iBalancesDelegate_assetsActivity;
    static AssetDelegate iAssetDelegate;
    static IAccountID iAccountID;
    static ITransactionObject iTransactionObject;
    static IAccountObject iAccountObject;
    static IAssetObject iAssetObject;
    static IRelativeHistory iRelativeHistory;
    public static String blockHead = "";
    private static Activity currentActivity;

    public static String urlsSocketConnection[] =
            {
                    "wss://de.blockpay.ch:8089",                // German node
                    "wss://fr.blockpay.ch:8089",               // France node
                    "wss://bitshares.openledger.info/ws",      // Openledger node
//                    "wss://bit.btsabc.org/ws",
//                    "wss://bts.transwiser.com/ws",
//                    "wss://freedom.bts123.cc:15138",
//                    "wss://okbtc.org:8089/ws",
//                    "wss://ratebts.com:8089",
//                    "wss://webber.tech:8089/ws",
                    //"wss://bitshares.dacplay.org:8089/ws"
                    //,"https://dele-puppy.com/ws"
                    //,"https://valen-tin.fr:8090"
            };

    public static String monitorAccountId;

    private static Handler warningHandler = new Handler();


    public static void setCurrentActivity(Activity _activity) {
        Application.currentActivity = _activity;
    }

    public static Activity getCurrentActivity() {
        return Application.currentActivity;
    }

    @Override
{'fraction_non_alphanumeric': 0.08849686543227876, 'fraction_numerical': 0.00874763084997813, 'mean_word_length': 3.692202462380301, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5449662', 'n_tokens_mistral': 2095, 'n_tokens_neox': 2007, 'n_words': 361}