<commit_before>package com.luongbui.andersen_festival_muzei;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Set;
import java.util.TreeSet;

import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.support.v4.content.FileProvider;

import com.google.android.apps.muzei.api.Artwork;
import com.google.android.apps.muzei.api.MuzeiArtSource;
import com.luongbui.andersen_festival_muzei.model.ArtPiece;

public class AndersenFestivalSource extends MuzeiArtSource {
	
	private static final String FILE_PROVIDER_AUTHORITIES = "com.luongbui.andersen_festival_muzei.fileprovider";
	
	private static final String PORTRAITS_SUBDIR = "andersen_portraits_2014";
	
	private static final String NAME = "com.luongbui.andersen_festival_muzei.AndersenFestivalSource";
	
	private static final String SUBS_KEY = NAME + "_SUBS";
	
	private static final String ART_INDEX_KEY = NAME + "_INDEX";
	
	/**
	 * public and static to use it as data for the list adapter of the configuration activity.<br>
	 * <br>
	 * A bit brutal, I know, but it's a quick & dirty solution.
	 */
	public static final ArtPiece[] PORTRAITS = {
	   new ArtPiece("giorgia_marras.jpg", "<NAME>", "<NAME>", "2014", "http://giorgiamarras.blogspot.it/"),
	   new ArtPiece("anais_tonelli.jpg", "<NAME>", "<NAME>", "2014", "http://anaistonelli.blogspot.it/")
      };
	
	private Set<String> subscribers;
	
	private SharedPreferences prefs;
	
	private Uri fileUri;
	
	private int artIndex;
	
	public AndersenFestivalSource() {
		super(NAME);<commit_msg>added all the initial artists<commit_after>package com.luongbui.andersen_festival_muzei;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Set;
import java.util.TreeSet;

import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.support.v4.content.FileProvider;

import com.google.android.apps.muzei.api.Artwork;
import com.google.android.apps.muzei.api.MuzeiArtSource;
import com.luongbui.andersen_festival_muzei.model.ArtPiece;

public class AndersenFestivalSource extends MuzeiArtSource {
	
	private static final String FILE_PROVIDER_AUTHORITIES = "com.luongbui.andersen_festival_muzei.fileprovider";
	
	private static final String PORTRAITS_SUBDIR = "andersen_portraits_2014";
	
	private static final String NAME = "com.luongbui.andersen_festival_muzei.AndersenFestivalSource";
	
	private static final String SUBS_KEY = NAME + "_SUBS";
	
	private static final String ART_INDEX_KEY = NAME + "_INDEX";
	
	/**
	 * public and static to use it as data for the list adapter of the configuration activity.<br>
	 * <br>
	 * A bit brutal, I know, but it's a quick & dirty solution.
	 */
	public static final ArtPiece[] PORTRAITS = {
	   new ArtPiece("giorgia_marras.jpg", "<NAME>", "<NAME>", "2014", "http://giorgiamarras.blogspot.it/"),
	   new ArtPiece("bruno_zocca.jpg", "<NAME>", "<NAME>", "2014", "http://brunozoccaillustrator.tumblr.com/"),
	   new ArtPiece("luca_tagliafico.jpg", "<NAME>", "<NAME>", "2014", "http://www.frizzifrizzi.it/2013/06/28/7am-luca-tagliafico/"),
	   new ArtPiece("daniele_castellano.jpg", "<NAME>", "<NAME>", "2014", "http://altairiv.tumblr.com/"),
	   new ArtPiece("letizia_iannaccone.jpg", "<NAME>", "<NAME>", "2014", "http://www.letiziaiannaccone.com/"),
	   new ArtPiece("anais_tonelli.jpg", "<NAME>", "<NAME>", "2014", "http://anaistonelli.blogspot.it/")
      };
	
	private Set<String> subscribers;
	
	private SharedPreferences prefs;
	
	private Uri fileUri;
	
	private int artIndex;
	
	public AndersenFestivalSource() {
		super(NAME);
{'fraction_non_alphanumeric': 0.12468193384223919, 'fraction_numerical': 0.012977099236641221, 'mean_word_length': 5.229793977812995, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3407914', 'n_tokens_mistral': 1415, 'n_tokens_neox': 1286, 'n_words': 289}