<commit_before>package com.bitdubai.fermat_api.layer.all_definition.transaction_transference_protocol.crypto_transactions;

import com.bitdubai.fermat_api.layer.all_definition.exceptions.InvalidParameterException;

/**
 * Created by eze on 11/06/15.
 */
public enum CryptoStatus {
    IDENTIFIED ("IDF"),
    RECEIVED ("RCV"),
    CONFIRMED ("CFM"),
    REVERSED ("RVS");

    private final String code;

    CryptoStatus(String Code) {
        this.code = Code;
    }

    public String getCode()   { return this.code ; }

    public static CryptoStatus getByCode(String code) throws InvalidParameterException {

        switch (code) {
            case "IDF": return CryptoStatus.IDENTIFIED;
            case "RCV": return CryptoStatus.RECEIVED;
            case "CFM": return CryptoStatus.CONFIRMED;
            case "RVS": return CryptoStatus.REVERSED;
        }

        /**
         * If we try to cpmvert am invalid string.
         */
        throw new InvalidParameterException(code);
    }


}
<commit_msg>Changed codes for enum CryptoStatus<commit_after>package com.bitdubai.fermat_api.layer.all_definition.transaction_transference_protocol.crypto_transactions;

import com.bitdubai.fermat_api.layer.all_definition.exceptions.InvalidParameterException;

/**
 * Created by eze on 11/06/15.
 */
public enum CryptoStatus {
    PENDING_SUBMIT ("PSB"),
    ON_CRYPTO_NETWORK ("OCN"),
    ON_BLOCKCHAIN ("OBC"),
    IRREVERSABLE ("IRR"),
    REVERSED ("RVS");

    private final String code;

    CryptoStatus(String Code) {
        this.code = Code;
    }

    public String getCode()   { return this.code ; }

    public static CryptoStatus getByCode(String code) throws InvalidParameterException {

        switch (code) {
            case "PSB": return CryptoStatus.PENDING_SUBMIT;
            case "OCN": return CryptoStatus.ON_CRYPTO_NETWORK;
            case "OBC": return CryptoStatus.ON_BLOCKCHAIN;
            case "IRR": return CryptoStatus.IRREVERSABLE;
            case "RVS": return CryptoStatus.REVERSED;
        }

        /**
         * If we try to cpmvert am invalid string.
         */
        throw new InvalidParameterException(code);
    }


}

{'fraction_non_alphanumeric': 0.09668508287292818, 'fraction_numerical': 0.0055248618784530384, 'mean_word_length': 2.7857142857142856, 'pattern_counts': {'":': 9, '<': 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': '24394', 'n_tokens_mistral': 686, 'n_tokens_neox': 661, 'n_words': 148}