<commit_before>package com.github.simonesestito.classeviva_api.objects;

import java.io.Serializable;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;


public class AgendaItem implements Serializable {

    private static final long serialVersionUID = 3253527L;

    public static final String TYPE_HOMEWORK = "esercizi", TYPE_TEST = "verifica", TYPE_INTERROGATION = "interrogazione", TYPE_GENERIC = "nota";

    private String text = "", type = "", teacher = "";
    private Calendar date;

    public String getType() {
        return type;
    }

    public Calendar getDate() {
        return date;
    }

    public String getTeacher() {
        return teacher;
    }

    public String getText() {
        return text;
    }

    public void setDate(Calendar date) {
        this.date = date;
    }

    public void setTeacher(String materia) {
        this.teacher = materia;<commit_msg>Teacher's name: capitalize only the first char of the name<commit_after>package com.github.simonesestito.classeviva_api.objects;

import java.io.Serializable;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;


public class AgendaItem implements Serializable {

    private static final long serialVersionUID = 3253527L;

    public static final String TYPE_HOMEWORK = "esercizi", TYPE_TEST = "verifica", TYPE_INTERROGATION = "interrogazione", TYPE_GENERIC = "nota";

    private String text = "", type = "", teacher = "";
    private Calendar date;

    public String getType() {
        return type;
    }

    public Calendar getDate() {
        return date;
    }

    public String getTeacher() {
        return teacher;
    }

    public String getText() {
        return text;
    }

    public void setDate(Calendar date) {
        this.date = date;
    }

    public void setTeacher(String materia) {
        this.teacher = Utils.getInstance().capitalizeWords(materia);
{'fraction_non_alphanumeric': 0.0916988416988417, 'fraction_numerical': 0.006756756756756757, 'mean_word_length': 3.230612244897959, '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': '6350738', 'n_tokens_mistral': 628, 'n_tokens_neox': 586, 'n_words': 162}