<commit_before>package es.dsrroma.garantator.data.helpers;

import android.annotation.TargetApi;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import es.dsrroma.garantator.data.contracts.BaseContract;
import es.dsrroma.garantator.data.contracts.BrandContract.BrandEntry;
import es.dsrroma.garantator.data.contracts.CategoryContract.CategoryEntry;
import es.dsrroma.garantator.data.contracts.ProductContract.ProductEntry;
import es.dsrroma.garantator.data.contracts.WarrantyContract.WarrantyEntry;
import es.dsrroma.garantator.data.contracts.WarrantyViewContract.WarrantyViewEntry;

import static es.dsrroma.garantator.data.contracts.BaseContract.BASE_CONTENT_URI;
import static es.dsrroma.garantator.data.contracts.BaseContract.QUERY_ALL;
import static es.dsrroma.garantator.data.contracts.BaseContract.QUERY_BY_ID;
import static es.dsrroma.garantator.data.contracts.BaseContract.QUERY_BY_NAME;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_CODE;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_CODE_BY_ID;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_CODE_BY_NAME;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_PATH;
import static es.dsrroma.garantator.data.contracts.BrandContract.BaseEntry;
import static es.dsrroma.garantator.data.contracts.BrandContract.SQL_PARAM;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_CODE;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_CODE_BY_ID;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_CODE_BY_NAME;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_PATH;
import static es.dsrroma.garantator.data.contracts.PictureContract.PICTURE_CODE;
import static es.dsrroma.garantator.data.contracts.PictureContract.PICTURE_CODE_BY_ID;
import static es.dsrroma.garantator.data.contracts.PictureContract.PICTURE_PATH;
import static es.dsrroma.garantator.data.contracts.PictureContract.PictureEntry;<commit_msg>Added Pictures table on database.<commit_after>package es.dsrroma.garantator.data.helpers;

import android.annotation.TargetApi;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import es.dsrroma.garantator.data.contracts.BaseContract;
import es.dsrroma.garantator.data.contracts.BaseContract.BaseEntry;
import es.dsrroma.garantator.data.contracts.BrandContract.BrandEntry;
import es.dsrroma.garantator.data.contracts.CategoryContract.CategoryEntry;
import es.dsrroma.garantator.data.contracts.PictureContract.PictureEntry;
import es.dsrroma.garantator.data.contracts.ProductContract.ProductEntry;
import es.dsrroma.garantator.data.contracts.WarrantyContract.WarrantyEntry;
import es.dsrroma.garantator.data.contracts.WarrantyViewContract.WarrantyViewEntry;

import static es.dsrroma.garantator.data.contracts.BaseContract.BASE_CONTENT_URI;
import static es.dsrroma.garantator.data.contracts.BaseContract.QUERY_ALL;
import static es.dsrroma.garantator.data.contracts.BaseContract.QUERY_BY_ID;
import static es.dsrroma.garantator.data.contracts.BaseContract.QUERY_BY_NAME;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_CODE;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_CODE_BY_ID;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_CODE_BY_NAME;
import static es.dsrroma.garantator.data.contracts.BrandContract.BRAND_PATH;
import static es.dsrroma.garantator.data.contracts.BrandContract.SQL_PARAM;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_CODE;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_CODE_BY_ID;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_CODE_BY_NAME;
import static es.dsrroma.garantator.data.contracts.CategoryContract.CATEGORY_PATH;
import static es.dsrroma.garantator.data.contracts.PictureContract.PICTURE_CODE;
import static es.dsrroma.garantator.data.contracts.PictureContract.PICTURE_CODE_BY_ID;
import static es.dsrroma.garantator.data.contracts.PictureContract.PICTURE_PATH;
{'fraction_non_alphanumeric': 0.08847521439029492, 'fraction_numerical': 0.0, 'mean_word_length': 7.988721804511278, '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': '5529252', 'n_tokens_mistral': 1644, 'n_tokens_neox': 1555, 'n_words': 181}