<commit_before>package org.redmine.ta;

import java.util.List;

public class RedmineException extends Exception {
	private List<String> errors;
	private String text;

	public RedmineException(List<String> errors) {
		this.errors = errors;
		for(String s : errors) {
			text += s + "\n";
		}
	}

	private static final long serialVersionUID = 1L;

	public List<String> getErrors() {
		return errors;
	}
	
	@Override
	public String getMessage(){
		return text;
	}
}<commit_msg>Issue 39:	"null" is added to the error description returned by RedmineException.getMessage()<commit_after>package org.redmine.ta;

import java.util.List;

public class RedmineException extends Exception {
	private List<String> errors;
	private String text = "";

	public RedmineException(List<String> errors) {
		this.errors = errors;
		for(String s : errors) {
			text += s + "\n";
		}
	}

	private static final long serialVersionUID = 1L;

	public List<String> getErrors() {
		return errors;
	}
	
	@Override
	public String getMessage(){
		return text;
	}
}
{'fraction_non_alphanumeric': 0.10755813953488372, 'fraction_numerical': 0.003875968992248062, 'mean_word_length': 4.190954773869347, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4941052', 'n_tokens_mistral': 351, 'n_tokens_neox': 321, 'n_words': 97}