<commit_before>package services;

import java.io.Serializable;
import java.util.Calendar;
import java.util.GregorianCalendar;


public class Notification implements Serializable{


	private static final long serialVersionUID = -8922509021222517613L;

	private boolean sendToGroup;
	private int senderId;
	private int receiverId;
	private String tag;
	private int priority;
	private String message;
	private String time;

	/***
	 *
	 * @param sendToGroup send message to group or user
	 * @param senderId producer's ID
	 * @param receiverId receiver's (user/group) ID
	 * @param tag message topic
	 * @param priority priority
	 * @param message notification message
	 */
	public Notification(boolean sendToGroup, int senderId, int receiverId, String tag, int priority, String message){
		GregorianCalendar time = new GregorianCalendar();

		this.message = message;
		this.senderId = senderId;
		this.receiverId = receiverId;
		this.tag = tag;
		this.sendToGroup = sendToGroup;
		this.priority = priority;
		this.time = ((Integer.toString(time.get(Calendar.DAY_OF_MONTH))+ ":" +Integer.toString(time.get(Calendar.MONTH))+ ":" +Integer.toString(time.get(Calendar.YEAR))+ " " +Integer.toString(time.get(Calendar.HOUR_OF_DAY)) + ":" + Integer.toString(time.get(Calendar.MINUTE)) + ":" + Integer.toString(time.get(Calendar.SECOND))));

	}

	public String getMessage() {
		return message;
	}

	public int getSenderId() {
		return senderId;
	}

	public int getReceivers() {
		return receiverId;
	}

	public String getTag() {
		return tag;
	}

	public boolean isSendToGroup() {
		return sendToGroup;
	}

	public String getTime() {
		return time;
	}

	public int getPriority() {
		return priority;
	}

}<commit_msg>field time, changed from String to Timestamp<commit_after>package services;

import java.io.Serializable;
import java.util.Calendar;
import java.sql.Timestamp;


public class Notification implements Serializable{


	private static final long serialVersionUID = -8922509021222517613L;

	private boolean sendToGroup;
	private int senderId;
	private int receiverId;
	private String tag;
	private int priority;
	private String message;
	private Timestamp time;

	/***
	 *
	 * @param sendToGroup send message to group or user
	 * @param senderId producer's ID
	 * @param receiverId receiver's (user/group) ID
	 * @param tag message topic
	 * @param priority priority
	 * @param message notification message
	 */
	public Notification(boolean sendToGroup, int senderId, int receiverId, String tag, int priority, String message){
		this.message = message;
		this.senderId = senderId;
		this.receiverId = receiverId;
		this.tag = tag;
		this.sendToGroup = sendToGroup;
		this.priority = priority;
		this.time = new Timestamp(Calendar.YEAR, Calendar.MONTH, Calendar.DAY_OF_MONTH, Calendar.HOUR_OF_DAY, Calendar.MINUTE, Calendar.SECOND, 0);
	}

	public String getMessage() {
		return message;
	}

	public int getSenderId() {
		return senderId;
	}

	public int getReceivers() {
		return receiverId;
	}

	public String getTag() {
		return tag;
	}

	public boolean isSendToGroup() {
		return sendToGroup;
	}

	public Timestamp getTime() {
		return time;
	}

	public int getPriority() {
		return priority;
	}

}
{'fraction_non_alphanumeric': 0.09903155263980007, 'fraction_numerical': 0.01218369259606373, 'mean_word_length': 4.445578231292517, 'pattern_counts': {'":': 4, '<': 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': '7548352', 'n_tokens_mistral': 1077, 'n_tokens_neox': 963, 'n_words': 282}