<commit_before>#include "Ticket.h"

Ticket::Ticket(string event, string username, int ticketNumber, double cost) {
	this->event = event;
	this->username = username;
	this->ticketNumber = ticketNumber;
	this->cost = cost;
}

Ticket::~Ticket() {
	delete event;
	delete username;
	delete ticketNumber;
	delete cost;
}

string Ticket::getEvent() {
    return this->event;
}

void Ticket::setEvent(string event) {
    this->event = event;
}

string Ticket::getUsername() {
    return this->username;
}
<commit_msg>FIXED: No need to delete strings. http://stackoverflow.com/questions/2365624/should-i-delete-the-string-members-of-a-c-class<commit_after>#include "Ticket.h"

Ticket::Ticket(string event, string username, int ticketNumber, double cost) {
	this->event = event;
	this->username = username;
	this->ticketNumber = ticketNumber;
	this->cost = cost;
}

// http://stackoverflow.com/questions/2365624/should-i-delete-the-string-members-of-a-c-class
Ticket::~Ticket() {
	// delete event;
	// delete username;
	// delete ticketNumber;
	// delete cost;
}

string Ticket::getEvent() {
    return this->event;
}

void Ticket::setEvent(string event) {
    this->event = event;
}

string Ticket::getUsername() {
    return this->username;
}

{'fraction_non_alphanumeric': 0.15060728744939272, 'fraction_numerical': 0.011336032388663968, 'mean_word_length': 4.373913043478261, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '567810', 'n_tokens_mistral': 427, 'n_tokens_neox': 416, 'n_words': 87}