<commit_before>package es.uniovi.asw.model;

import javax.persistence.*;

@Entity
public class Voter {
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private long id;
	
	private String name;
	private String email;
	private String nif;
	private Integer code;
	private String password;
	
	protected Voter() {}
	
	public Voter(String name, String email, String nif, Integer code, String password)
	{
		this.name = name;
		this.nif = nif;
		this.code = code;
		this.email = email;
		this.password = password;
	}
	
	public String getName() {
		return name;
	}
	public String getEmail() {
		return email;
	}

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

	public Integer getCode() {
		return code;
	}

	public void setCp(int code) {
		this.code = code;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNif() {
		return nif;
	}

	@Override
	public String toString() {
		return "Voter [name=" + name + ", nif=" + nif + ", ccode=" + code + "]";
	}
	

}<commit_msg>Corregido el getter del código del colegio electoral y el método toString<commit_after>package es.uniovi.asw.model;

import javax.persistence.*;

@Entity
public class Voter {

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private long id;

	private String name;
	private String email;
	private String nif;
	private Integer code;
	private String password;

	protected Voter() {}

	public Voter(String name, String email, String nif, Integer code, String password) {
		this.name = name;
		this.nif = nif;
		this.code = code;
		this.email = email;
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public String getEmail() {
		return email;
	}

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

	public Integer getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNif() {
		return nif;
	}

	@Override
	public String toString() {
		return "Voter [name=" + name + ", nif=" + nif + ", code=" + code + "]";
	}


}
{'fraction_non_alphanumeric': 0.11361587015329125, 'fraction_numerical': 0.0, 'mean_word_length': 3.537832310838446, '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': '4219923', 'n_tokens_mistral': 807, 'n_tokens_neox': 749, 'n_words': 224}