aboutsummaryrefslogtreecommitdiffstats
path: root/document/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-10-30 10:01:21 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2018-10-30 10:01:21 +0100
commitbc3fea89a5f3fcfd8b39ad9ac7e831137a009ed8 (patch)
treea430aa9f15a0bbd9b3f9396d079cc8730e420b9e /document/src
parentedee5b90c4a0b0bba89a801952ab4c883aa39b4b (diff)
Keep binary compatibility.
Diffstat (limited to 'document/src')
-rw-r--r--document/src/main/java/com/yahoo/document/DocumentUpdate.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/document/src/main/java/com/yahoo/document/DocumentUpdate.java b/document/src/main/java/com/yahoo/document/DocumentUpdate.java
index 535a3bc9a9a..970fff3bddb 100644
--- a/document/src/main/java/com/yahoo/document/DocumentUpdate.java
+++ b/document/src/main/java/com/yahoo/document/DocumentUpdate.java
@@ -293,6 +293,15 @@ public class DocumentUpdate extends DocumentOperation implements Iterable<FieldP
addFieldUpdates(fieldUpdates);
}
+ /**
+ * Temporary proxy to setFieldUpdates(Collection<FieldUpdate>) to preserve binary compatibility.
+ * @param fieldUpdates
+ */
+ @Deprecated
+ public void setFieldUpdates(List<FieldUpdate> fieldUpdates) {
+ setFieldUpdates((Collection<FieldUpdate>) fieldUpdates);
+ }
+
public void addFieldUpdates(Collection<FieldUpdate> fieldUpdates) {
for (FieldUpdate fieldUpdate : fieldUpdates) {
addFieldUpdate(fieldUpdate);