<commit_before>package org.jabref.model;

import java.util.Objects;

import org.jabref.model.entry.BibEntry;

/**
 *
 */
public class FieldChange {

    private final BibEntry entry;
    private final String field;
    private final String oldValue;
    private final String newValue;


    public FieldChange(BibEntry entry, String field, String oldValue, String newValue) {
        this.entry = entry;<commit_msg>Added a comment for the purpose of the class (#4282)<commit_after>package org.jabref.model;

import java.util.Objects;

import org.jabref.model.entry.BibEntry;

/**
 * This class is used in the instance of a field being modified, removed or added.
 */
public class FieldChange {

    private final BibEntry entry;
    private final String field;
    private final String oldValue;
    private final String newValue;


    public FieldChange(BibEntry entry, String field, String oldValue, String newValue) {
        this.entry = entry;
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.004214963119072708, 'mean_word_length': 3.702970297029703, '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': '127093', 'n_tokens_mistral': 277, 'n_tokens_neox': 255, 'n_words': 95}