<commit_before>package edu.uib.info310.model.imp;

import org.springframework.stereotype.Component;

import edu.uib.info310.model.Event;
import edu.uib.info310.model.Track;

@Component
public class TrackImp implements Track {
	private String trackNr;
	private String name;
	private String length;
	private String artist;
	private String preview;

	
	
	public String getTrackNr() {
		return this.trackNr;
	}

	public String getName() {
		return this.name;
	}

	public String getLength() {
		return this.length;
	}

	public String getArtist() {
		return this.artist;
	}

	public void setTrackNr(String trackNr) {
		if(trackNr.length() == 1){
			trackNr += "0" + trackNr;
		}
		this.trackNr = trackNr;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setLength(String length) {
		this.length = length;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public int compareTo(Track o) {
		return this.trackNr.compareTo(o.getTrackNr());
	}
<commit_msg>Added 0 to tracks with track numbers bellow 10.<commit_after>package edu.uib.info310.model.imp;

import org.springframework.stereotype.Component;

import edu.uib.info310.model.Event;
import edu.uib.info310.model.Track;

@Component
public class TrackImp implements Track {
	private String trackNr;
	private String name;
	private String length;
	private String artist;
	private String preview;



	public String getTrackNr() {
		return this.trackNr;
	}

	public String getName() {
		return this.name;
	}

	public String getLength() {
		return this.length;
	}

	public String getArtist() {
		return this.artist;
	}

	public void setTrackNr(String trackNr) {
		if(trackNr.length() == 1){
			this.trackNr = "0" + trackNr;
		}else{
			this.trackNr = trackNr;
		}
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setLength(String length) {
		this.length = length;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public int compareTo(Track o) {
		return this.trackNr.compareTo(o.getTrackNr());
	}

{'fraction_non_alphanumeric': 0.10745829244357213, 'fraction_numerical': 0.01226692836113837, 'mean_word_length': 3.8896882494004794, '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': '2976453', 'n_tokens_mistral': 786, 'n_tokens_neox': 716, 'n_words': 177}