<commit_before>package edu.msudenver.cs3250.group6.msubanner.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;

/**
 * The professor class.
 */
@Entity
public class Professor {
    /**
     * Semester id number.
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(unique = true)
    private long id;
    /**
     * Relationship with sections.
     */
    //@OneToMany(mappedBy = "professor")
    //private Section sections;
    /**
     * Professor first name.
     */
    @Column(unique = false)
    private String firstName;
    /**
     * Professor last name.
     */
    @Column(unique = false)
    private String lastName;

    /**
     * Default constructor, creates blank professor.
     */
    public Professor() {
    }

    /**
     *
     * @param firstname professors first name
     * @param lastname professors last name
     */
    public Professor(final String firstname, final String lastname) {
        this.firstName = firstname;
        this.lastName = lastname;
    }

    /**
     *
     * @return returns sections that professor belongs to
     */
   /* public Section getSections(){
        return sections;
    }
*/
    /**
     *
     * @return returns professors first name
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     *
     * @param firstName sets professors first name to firstName
     */
    public void setFirstName(final String firstName) {
        this.firstName = firstName;
    }

    /**
     *
     * @return returns professors last name
     */
    public String getLastName() {
        return lastName;
    }

    /**
     *
     * @param lastName sets professors last name to lastName
     */
    public void setLastName(final String lastName) {
        this.lastName = lastName;
    }

}<commit_msg>Professor extends user complete<commit_after>package edu.msudenver.cs3250.group6.msubanner.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * The professor class.
 */
@Entity
public class Professor extends User{
    /**
     * Semester id number.
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(unique = true)
    private long id;


    /**
     * Default constructor, creates blank professor.
     */
    public Professor() {
    }

    /**
     *
     * @param firstname professors first name
     * @param lastname professors last name
     */
    public Professor(final String firstname, final String lastname) {
        super(firstname,lastname);
    }

    /**
     *
     * @return returns sections that professor belongs to
     */
   /* public Section getSections(){
        return sections;
    }
*/
    /**
     *
     * @return returns professors first name
     */
    public String getFirstName() {
        return super.getFirstName();
    }

    /**
     *
     * @param firstName sets professors first name to firstName
     */
    public void setFirstName(final String firstName) {
        super.setFirstName(firstName);
    }

    /**
     *
     * @return returns professors last name
     */
    public String getLastName() {
        return super.getLastName();
    }

    /**
     *
     * @param lastName sets professors last name to lastName
     */
    public void setLastName(final String lastName) {
        super.setLastName(lastName);
    }

}
{'fraction_non_alphanumeric': 0.10093509350935094, 'fraction_numerical': 0.0027502750275027505, 'mean_word_length': 2.2589605734767026, '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': '5565735', 'n_tokens_mistral': 1034, 'n_tokens_neox': 1011, 'n_words': 266}