<commit_before>package application;

import java.util.HashMap;
import java.util.Map;

import javafx.scene.paint.Color;

/**
 * 
 * @author Anika
 *
 */
public class Pen {
	//  Properties: up/down, thickness, solid, dashed, dotted, etc.
	private int myStatus, myPaletteColorLocation;
	private Color myColor;
	private double myThickness;
	private PENSTYLE myStyle;
	private Map<Integer, Color> myPaletteOptions;
	
	private enum PENSTYLE {
		SOLID, DASHED, DOTTED;
	}
	
	/**
	 * Constructor of pen class
	 * - initializes status based on integer passed by user
	 * - initializes color to black
	 * - initializes original thickness to 1
	 * - initializes line-drawing style to solid line
	 * @param status
	 */
	public Pen(int status)
	{
		myStatus = status;
		myColor = Color.BLACK;
		myThickness = 1;
		myStyle = PENSTYLE.SOLID;
		myPaletteOptions = new HashMap<Integer, Color>();
		myPaletteColorLocation = 0;
	}
	

	/**
	 * sets status of pen based on input parameter
	 * if status == 1, PENDOWN
	 * if status == 0, PENUP
	 * @param newStatus of pen
	 */
	public void setStatus(int newStatus)<commit_msg>minor change in comments to pen<commit_after>package application;

import java.util.HashMap;
import java.util.Map;

import javafx.scene.paint.Color;

/**
 * 
 * @author Anika
 *
 */
public class Pen {
	//  Properties: up/down, thickness, solid, dashed, dotted, etc.
	private int myStatus, myPaletteColorLocation;
	private Color myColor;
	private double myThickness;
	private PENSTYLE myStyle;
	private Map<Integer, Color> myPaletteOptions;
	
	private enum PENSTYLE {
		SOLID, DASHED, DOTTED;
	}
	
	/**
	 * Constructor of pen class
	 * - initializes status to 1
	 * - initializes color to black
	 * - initializes original thickness to 1
	 * - initializes line-drawing style to solid line
	 * @param status
	 */
	public Pen(int status)
	{
		myStatus = status;
		myColor = Color.BLACK;
		myThickness = 1;
		myStyle = PENSTYLE.SOLID;
		myPaletteOptions = new HashMap<Integer, Color>();
		myPaletteColorLocation = 0;
	}
	

	/**
	 * sets status of pen based on input parameter
	 * if status == 1, PENDOWN
	 * if status == 0, PENUP
	 * @param newStatus of pen
	 */
	public void setStatus(int newStatus)
{'fraction_non_alphanumeric': 0.0964074579354252, 'fraction_numerical': 0.0050022737608003635, 'mean_word_length': 3.5454545454545454, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3361725', 'n_tokens_mistral': 782, 'n_tokens_neox': 698, 'n_words': 226}