<commit_before>package io.avengers.domain;

import java.util.Arrays;

public class Movie {

	int id;
	String name;
	byte[] picture;
	java.util.Date date;
	String history;
	long gross;
	long budget;

	public Movie(int id, String name, long gross, long budget, byte[] picture, String history, java.util.Date date) {
		this.id = id;
		this.name = name;
		this.date = date;
		this.gross = gross;
		this.budget = budget;
		this.history = history;

	}

	public Movie() {
	}
	
	public Movie(String name, long gross, long budget) {
		this.name = name;
		this.gross = gross;
		this.budget = budget;
	}
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

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

	public byte[] getPicture() {
		return picture;
	}

	public void setPicture(byte[] picture) {
		this.picture = picture;
	}

	public java.util.Date getDate() {
		return date;
	}

	public void setDate(java.util.Date date) {
		this.date = date;
	}

	public String getHistory() {
		return history;
	}

	public void setHistory(String history) {
		this.history = history;
	}

	public long getGross() {
		return gross;
	}

	public void setGross(long gross) {
		this.gross = gross;
	}

	public long getBudget() {
		return budget;
	}

	public void setBudget(long budget) {
		this.budget = budget;
	}

	@Override
	public String toString() {
		return "\nid=" + this.id + ",\n name=" + this.name + ",\n picture=" + Arrays.toString(picture) + ",\n date="
				+ this.date + ",\n history=" + this.history + ",\n gross=" + this.gross + ",\n budget=" + this.budget
				+ "\n";
	}
<commit_msg>getpicture string in movies + @XML transient<commit_after>package io.avengers.domain;

import java.util.Arrays;
import java.util.Base64;

import javax.xml.bind.annotation.XmlTransient;

public class Movie {

	int id;
	String name;
	byte[] picture;
	java.util.Date date;
	String history;
	long gross;
	long budget;

	public Movie(int id, String name, long gross, long budget, byte[] picture, String history, java.util.Date date) {
		this.id = id;
		this.name = name;
		this.date = date;
		this.gross = gross;
		this.budget = budget;
		this.history = history;

	}

	public Movie() {
	}

	public Movie(String name, long gross, long budget) {
		this.name = name;
		this.gross = gross;
		this.budget = budget;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

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

	@XmlTransient
	public byte[] getPicture() {
		return picture;
	}

	public void setPicture(byte[] picture) {
		this.picture = picture;
	}

	public java.util.Date getDate() {
		return date;
	}

	public void setDate(java.util.Date date) {
		this.date = date;
	}

	public String getHistory() {
		return history;
	}

	public void setHistory(String history) {
		this.history = history;
	}

	public long getGross() {
		return gross;
	}

	public void setGross(long gross) {
		this.gross = gross;
	}

	public long getBudget() {
		return budget;
	}

	public void setBudget(long budget) {
		this.budget = budget;
	}

	@Override
	public String toString() {
		return "\nid=" + this.id + ",\n name=" + this.name + ",\n picture=" + Arrays.toString(picture) + ",\n date="
				+ this.date + ",\n history=" + this.history + ",\n gross=" + this.gross + ",\n budget=" + this.budget
				+ "\n";
	}

	@XmlTransient
	public String getPictureString() {
		if (picture == null) {
			return "";
		}
		byte[] encodedImage = Base64.getEncoder().encode(picture);
		String pict = "data:image/jpeg;base64," + new String(encodedImage);
		return pict;
	}
{'fraction_non_alphanumeric': 0.13754747693977212, 'fraction_numerical': 0.0016277807921866521, 'mean_word_length': 3.277262180974478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '226862', 'n_tokens_mistral': 1420, 'n_tokens_neox': 1301, 'n_words': 360}