diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-10-30 10:01:21 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2018-10-30 10:01:21 +0100 |
commit | bc3fea89a5f3fcfd8b39ad9ac7e831137a009ed8 (patch) | |
tree | a430aa9f15a0bbd9b3f9396d079cc8730e420b9e /document/src | |
parent | edee5b90c4a0b0bba89a801952ab4c883aa39b4b (diff) |
Keep binary compatibility.
Diffstat (limited to 'document/src')
-rw-r--r-- | document/src/main/java/com/yahoo/document/DocumentUpdate.java | 9 |
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); |