<commit_before>package sm.app.plugins;

import android.view.Gravity;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class TIWifi extends CordovaPlugin {

    private static final String ACTION_GET_SSID = "getssid";
    private static final String ACTION_SET_SSID = "setssid";

    @Override
    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
        if (ACTION_GET_SSID.equals(action)) {
            callbackContext.success("TIWifi: get ssid");
            return true;
        } else if (ACTION_SET_SSID.equals(action)) {
            final JSONObject options = args.getJSONObject(0);
            final String ssid = options.getString("ssid");
            final String password = options.getString("password");
            callbackContext.success("TIWifi: set ssid:" + ssid + " password:" + password);
            return true;
        } else {
            callbaclContext.error("TIWifi." + action + " is not a supported function.");
            return false
        }
    }
}<commit_msg>fix spell error<commit_after>package sm.app.plugins;

import android.view.Gravity;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class TIWifi extends CordovaPlugin {

    private static final String ACTION_GET_SSID = "getssid";
    private static final String ACTION_SET_SSID = "setssid";

    @Override
    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
        if (ACTION_GET_SSID.equals(action)) {
            callbackContext.success("TIWifi: get ssid");
            return true;
        } else if (ACTION_SET_SSID.equals(action)) {
            final JSONObject options = args.getJSONObject(0);
            final String ssid = options.getString("ssid");
            final String password = options.getString("password");
            callbackContext.success("TIWifi: set ssid:" + ssid + " password:" + password);
            return true;
        } else {
            callbackContext.error("TIWifi." + action + " is not a supported function.");
            return false
        }
    }
};
{'fraction_non_alphanumeric': 0.09549852755574254, 'fraction_numerical': 0.0008413967185527977, 'mean_word_length': 3.023688663282572, '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': '1443364', 'n_tokens_mistral': 645, 'n_tokens_neox': 637, 'n_words': 168}