<commit_before>package commands.display_commands;

import java.util.ArrayList;
import java.util.ResourceBundle;

import model.Model;
import commands.CommandOneInput;

public class SetViewProperties extends CommandOneInput {
	protected ResourceBundle myResources;
	protected static final String DEFAULT_RESOURCE_PACKAGE = "resources.";
	
	protected ArrayList<String> handleSet(Model model) {
		myResources = ResourceBundle.getBundle(DEFAULT_RESOURCE_PACKAGE + "English");
		String lumpedColors = myResources.getString("Colors");
		String colors1[] = lumpedColors.split(" ");
		ArrayList<String> colors = new ArrayList<String>();
		for(int i = 0; i<colors1.length-1;i++){
			colors.add(colors1[i]);
		}
		return colors;
	}
	
}
<commit_msg>minor commenting<commit_after>package commands.display_commands;

import java.util.ArrayList;
import java.util.ResourceBundle;

import model.Model;
import commands.CommandOneInput;

/**
 * Takes care of porting arrays generated
 * from properties file to arraylists for more flexibility.
 * @author carlosreyes
 *
 */
public class SetViewProperties extends CommandOneInput {
	protected ResourceBundle myResources;
	protected static final String DEFAULT_RESOURCE_PACKAGE = "resources.";
	
	/**
	 * Pulls resource into array, and ports this to arrayList
	 * @param model
	 * @return ArrayList
	 */
	protected ArrayList<String> handleSet(Model model) {
		myResources = ResourceBundle.getBundle(DEFAULT_RESOURCE_PACKAGE + "English");
		String resourceArray = myResources.getString("Colors");
		String colors1[] = resourceArray.split(" ");
		ArrayList<String> colors = new ArrayList<String>();
		for(int i = 0; i<colors1.length-1;i++){
			colors.add(colors1[i]);
		}
		return colors;
	}
	
}

{'fraction_non_alphanumeric': 0.10562971561230412, 'fraction_numerical': 0.005803830528148578, 'mean_word_length': 5.456928838951311, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '6340739', 'n_tokens_mistral': 513, 'n_tokens_neox': 484, 'n_words': 126}