<commit_before>package net.softwareminds.foosballbooking.client.domain;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import net.softwareminds.foosballbooking.client.util.JsonLocalDateTimeDeserializer;
import net.softwareminds.foosballbooking.client.util.JsonLocalDateTimeSerializer;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

import java.time.LocalDateTime;
import java.util.UUID;

@JsonIgnoreProperties(ignoreUnknown=true)
public class Booking {
  private LocalDateTime begin = null;
  private LocalDateTime end = null;

  private String user = null;
  private String comment = null;

  public Booking() {
  }

  public Booking(LocalDateTime begin, LocalDateTime end, String comment) {
    this.begin = begin;
    this.end = end;
    this.user = user;
    this.comment = comment;
  }

  @JsonDeserialize(using = JsonLocalDateTimeDeserializer.class)
  public void setBegin(LocalDateTime begin) {
    this.begin = begin;
  }

  @JsonSerialize(using = JsonLocalDateTimeSerializer.class)
  public LocalDateTime getBegin() {<commit_msg>Useless initialization variable "user" in the constructor of the Booking class removed.<commit_after>package net.softwareminds.foosballbooking.client.domain;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import net.softwareminds.foosballbooking.client.util.JsonLocalDateTimeDeserializer;
import net.softwareminds.foosballbooking.client.util.JsonLocalDateTimeSerializer;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

import java.time.LocalDateTime;

@JsonIgnoreProperties(ignoreUnknown=true)
public class Booking {
  private LocalDateTime begin = null;
  private LocalDateTime end = null;

  private String user = null;
  private String comment = null;

  public Booking() {
  }

  public Booking(LocalDateTime begin, LocalDateTime end, String comment) {
    this.begin = begin;
    this.end = end;
    this.comment = comment;
  }

  @JsonDeserialize(using = JsonLocalDateTimeDeserializer.class)
  public void setBegin(LocalDateTime begin) {
    this.begin = begin;
  }

  @JsonSerialize(using = JsonLocalDateTimeSerializer.class)
  public LocalDateTime getBegin() {
{'fraction_non_alphanumeric': 0.08574739281575898, 'fraction_numerical': 0.001544998068752414, 'mean_word_length': 5.556962025316456, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, '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': '5760428', 'n_tokens_mistral': 765, 'n_tokens_neox': 722, 'n_words': 149}