<commit_before>package com.novoda.sqliteprovider.demo.persistance;

import static com.novoda.sqliteprovider.demo.persistance.DatabaseConstants.TBL_FIREWORKS;
import static com.novoda.sqliteprovider.demo.provider.FireworkProvider.AUTHORITY;

import android.content.ContentResolver;
import android.database.Cursor;
import android.net.Uri;

public class DatabaseReader {

	private final ContentResolver contentResolver;

	public DatabaseReader(ContentResolver contentResolver) {
		this.contentResolver = contentResolver;
	}

	public Cursor getAllFromFireworksTable() {
		return getAllFrom(TBL_FIREWORKS);
	}
	
	public Cursor getAllFrom(String tableName) {
		return contentResolver.query(Uri.parse(AUTHORITY+ tableName), null, null, null, null);
	}

}<commit_msg>reduced visibility of class method;<commit_after>package com.novoda.sqliteprovider.demo.persistance;

import static com.novoda.sqliteprovider.demo.persistance.DatabaseConstants.TBL_FIREWORKS;
import static com.novoda.sqliteprovider.demo.provider.FireworkProvider.AUTHORITY;

import android.content.ContentResolver;
import android.database.Cursor;
import android.net.Uri;

public class DatabaseReader {

	private final ContentResolver contentResolver;

	public DatabaseReader(ContentResolver contentResolver) {
		this.contentResolver = contentResolver;
	}

	public Cursor getAllFromFireworksTable() {
		return getAllFrom(TBL_FIREWORKS);
	}
	
	private Cursor getAllFrom(String tableName) {
		return contentResolver.query(Uri.parse(AUTHORITY + tableName), null, null, null, null);
	}

}
{'fraction_non_alphanumeric': 0.08365758754863813, 'fraction_numerical': 0.0, 'mean_word_length': 6.715, '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': '4741847', 'n_tokens_mistral': 465, 'n_tokens_neox': 457, 'n_words': 88}