<commit_before>package model;

import org.eclipse.egit.github.core.User;

public class TurboUser implements Listable {
	
	/*
	 * Attributes, Getters & Setters
	 */
	
	private String githubName;
	public String getGithubName() {return githubName;}
	public void setGithubName(String githubName) {this.githubName = githubName;}
	
	private String realName;
	public String getRealName() {return realName;}
	public void setRealName(String realName) {this.realName = realName;}
	
	/*
	 * Constructors and Public Methods
	 */
	
	public TurboUser(){
		super();
	}
	
	public TurboUser(User user) {
		assert user != null;

		this.githubName = user.getLogin();
		this.realName = user.getName();
	}
	
	public User toGhResource() {
		User ghUser = new User();
		ghUser.setLogin(githubName);
		return ghUser;
	}
	
	public void copyValues(Object other){
		if(other.getClass() == TurboUser.class){
			TurboUser obj = (TurboUser)other;
			setGithubName(obj.getGithubName());
			setRealName(obj.getRealName());
		}
	}
	
	/*
	 * Overriden Methods
	 */
	
	@Override
	public String getListName() {
		return getGithubName();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((githubName == null) ? 0 : githubName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {<commit_msg>added avatarurl field to turbouser<commit_after>package model;

import org.eclipse.egit.github.core.User;

public class TurboUser implements Listable {
	
	/*
	 * Attributes, Getters & Setters
	 */
	
	private String githubName;
	public String getGithubName() {
		return githubName;
	}
	
	public void setGithubName(String githubName) {
		this.githubName = githubName;
	}
	
	private String realName;
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	
	private String avatarUrl;
	public String getAvatarUrl(){
		return avatarUrl;
	}
	public void setAvatarUrl(String url){
		avatarUrl = url;
	}
	/*
	 * Constructors and Public Methods
	 */
	
	public TurboUser(){
		super();
	}
	
	public TurboUser(User user) {
		assert user != null;

		this.githubName = user.getLogin();
		this.realName = user.getName();
		this.avatarUrl = user.getAvatarUrl();
	}
	
	public User toGhResource() {
		User ghUser = new User();
		ghUser.setLogin(githubName);
		return ghUser;
	}
	
	public void copyValues(Object other){
		if(other.getClass() == TurboUser.class){
			TurboUser obj = (TurboUser)other;
			setGithubName(obj.getGithubName());
			setRealName(obj.getRealName());
			setAvatarUrl(obj.getAvatarUrl());
		}
	}
	
	/*
	 * Overriden Methods
	 */
	
	@Override
	public String getListName() {
		return getGithubName();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((githubName == null) ? 0 : githubName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
{'fraction_non_alphanumeric': 0.11637347767253045, 'fraction_numerical': 0.0027063599458728013, 'mean_word_length': 3.808130081300813, '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': '5596910', 'n_tokens_mistral': 1101, 'n_tokens_neox': 956, 'n_words': 243}