[CORE] ProductUpdate : suppr de l'attr Date pour éviter les erreurs 505 lors des requêtes HTTP vers un web-serveur Tomcat

This commit is contained in:
Notmoo-PC\Notmoo 2018-01-24 17:49:03 +01:00
parent 18907258c1
commit 67f9f54d8d

View File

@ -9,7 +9,6 @@ import java.util.Objects;
public class ProductUpdate implements ILoggable, Serializable {
private Date createdAt;
private Product oldVersion;
private Product newVersion;
@ -17,25 +16,15 @@ public class ProductUpdate implements ILoggable, Serializable {
}
public ProductUpdate(Product oldVersion, Product newVersion) {
this.createdAt = new Date();
this.oldVersion = oldVersion;
this.newVersion = newVersion;
}
public ProductUpdate(Date createdAt, Product oldVersion, Product newVersion) {
this.createdAt = createdAt;
this.oldVersion = oldVersion;
this.newVersion = newVersion;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Product getOldVersion() {
return oldVersion;
}