aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);