From cd42f9d0f6760408a13d1a7eb0d8cf710b0a4d0b Mon Sep 17 00:00:00 2001 From: fedoreno <fedoreno> Date: Thu, 10 Mar 2016 10:41:13 +0000 Subject: [PATCH] SSDM-3284: fixing dtos with missing fields/logic SVN: 35864 --- .../generic/asapi/v3/dto/common/update/FieldUpdateValue.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/update/FieldUpdateValue.java b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/update/FieldUpdateValue.java index a9a74071c9c..6ab425679d5 100644 --- a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/update/FieldUpdateValue.java +++ b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/update/FieldUpdateValue.java @@ -45,6 +45,9 @@ public class FieldUpdateValue<T> implements Serializable @JsonIgnore public void setValue(T value) { + if (this.value == value) { + return; + } this.value = value; this.isModified = true; } -- GitLab