<commit_before>package com.splashincsoluctions.myloyalty.BarcodeGenerator;

/**
 * Created by Brendan on 22/07/2015.
 */
public class BarcodeHelper {
    public static ABarcode GetBarcode(String format, String content)
    {
        ABarcode bc = null;
        switch (format.toUpperCase()){
            case "AZTEC":
                bc = new AztecBarcode(content);
                break;
            case "CODE_39":
                bc = new C39Barcode(content);
                break;
            case "CODE_128":
                bc = new C128Barcode(content);
                break;
            case "CODABAR":
                bc = new CodabarBarcode(content);
                break;
            case "DATA_MATRIX":
                bc = new DataMatrixBarcode(content);
                break;
            case "EAN_8":
                bc = new Ean8Barcode(content);
                break;
            case "EAN_13":
                bc = new Ean13Barcode(content);
                break;
            case "ITF":
                bc = new ITFBarcode(content);
                break;
            case "QR_CODE":
                bc = new QRBarcode(content);
                break;
        }
        return bc;
    }
}<commit_msg>Temporarily Disabling Data_Matrix due to it constantly throwing an error<commit_after>package com.splashincsoluctions.myloyalty.BarcodeGenerator;

/**
 * Created by Brendan on 22/07/2015.
 */
public class BarcodeHelper {
    public static ABarcode GetBarcode(String format, String content)
    {
        ABarcode bc = null;
        switch (format.toUpperCase()){
            case "AZTEC":
                bc = new AztecBarcode(content);
                break;
            case "CODE_39":
                bc = new C39Barcode(content);
                break;
            case "CODE_128":
                bc = new C128Barcode(content);
                break;
            case "CODABAR":
                bc = new CodabarBarcode(content);
                break;
            /*case "DATA_MATRIX":
                bc = new DataMatrixBarcode(content);
                break;*/
            case "EAN_8":
                bc = new Ean8Barcode(content);
                break;
            case "EAN_13":
                bc = new Ean13Barcode(content);
                break;
            case "ITF":
                bc = new ITFBarcode(content);
                break;
            case "PDF_417":
                bc = new PDF417Barcode(content);
                break;
            case "QR_CODE":
                bc = new QRBarcode(content);
                break;
        }
        return bc;
    }
}
{'fraction_non_alphanumeric': 0.08495981630309989, 'fraction_numerical': 0.02066590126291619, 'mean_word_length': 1.2592912705272257, 'pattern_counts': {'":': 19, '<': 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': '7154883', 'n_tokens_mistral': 775, 'n_tokens_neox': 714, 'n_words': 171}