<commit_before>/**
 * Seat object
 * @author <NAME>, <NAME>
 * @version 11/05/16
 */

public class Seat {

    public final int row;
    public final int column; // Position of seat as an integer
    public final boolean isWindow; // is it a window seat?
    public final boolean isAisle; // is it an aisle seat?
    public final boolean isMiddle; // either middle or side seat
    public boolean isVacant;
    private String firstName; // name of the passenger
    private String lastName;

    /**
    * Initializes a seat of an airplane
    * (Postcondition: a seat is initialized)
	* @param row row of the seat
	* @param letter letter of the seat
    * @param isWindow is window seat
    * @param isAisle is aisle seat
    * @param isMiddle is middle seat
    * (Precondition: row >= 1, letter is an actual letter)
    */
    public Seat (int row, int column, boolean isWindow, boolean isAisle, boolean isMiddle){
        this.row = row;

        // checker for column
        // checker will likely go unused because no one can edit this besides Airplane.java
        if (column >= 'a' && column <= 'z'){
            this.column = Character.toUpperCase(column);
        } else {
            this.column = column;
        }

        this.isWindow = isWindow;<commit_msg>Better documentation, removed extra checker.<commit_after>/**
 * Seat object
 * @author <NAME>, <NAME>
 * @version 11/05/16
 */

public class Seat {

    public final int row; // 0 - 12
    public final int column; // letters in numerical form. 1-6
    public final boolean isWindow; // is it a window seat?
    public final boolean isAisle; // is it an aisle seat?
    public final boolean isMiddle; // either middle or side seat
    public boolean isVacant;
    private String firstName; // name of the passenger
    private String lastName;

    /**
    * Initializes a seat of an airplane
    * (Postcondition: a seat is initialized)
	* @param row row of the seat
	* @param letter letter of the seat
    * @param isWindow is window seat
    * @param isAisle is aisle seat
    * @param isMiddle is middle seat
    * (Precondition: row >= 1, letter is an actual letter)
    */
    public Seat (int row, int column, boolean isWindow, boolean isAisle, boolean isMiddle){
        this.row = row;
        this.column = column;
        this.isWindow = isWindow;
{'fraction_non_alphanumeric': 0.08662092624356775, 'fraction_numerical': 0.008147512864493996, 'mean_word_length': 2.5564024390243905, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, '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': '6732521', 'n_tokens_mistral': 677, 'n_tokens_neox': 642, 'n_words': 286}