diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-20 15:13:08 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-20 15:17:46 +0200 |
commit | 17834a22cd3109a6f13c5c4445ad80d734b655f3 (patch) | |
tree | af5b8b1f2257fe0581b938b1439d0c50e352d5f0 /document | |
parent | 3936e47c2fc6a2460e540ec4b687423cd39cd289 (diff) |
remove unneeded cast
Diffstat (limited to 'document')
-rw-r--r-- | document/src/main/java/com/yahoo/document/update/MapValueUpdate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/main/java/com/yahoo/document/update/MapValueUpdate.java b/document/src/main/java/com/yahoo/document/update/MapValueUpdate.java index edb40c6959b..de2fe1987a9 100644 --- a/document/src/main/java/com/yahoo/document/update/MapValueUpdate.java +++ b/document/src/main/java/com/yahoo/document/update/MapValueUpdate.java @@ -70,7 +70,7 @@ public class MapValueUpdate extends ValueUpdate { } } weight = (Integer) update.applyTo(new IntegerFieldValue(weight)).getWrappedValue(); - wset.put((FieldValue) value, weight); + wset.put(value, weight); if (wtype.removeIfZero() && update instanceof ArithmeticValueUpdate && weight == 0) { wset.remove(value); } |