Bug 2606: Fixed serialization of null augmentations.
authorTony Tkacik <ttkacik@cisco.com>
Mon, 19 Jan 2015 14:24:12 +0000 (15:24 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Mon, 19 Jan 2015 14:46:59 +0000 (15:46 +0100)
commit702760a2079d26b2b5672a9e740e88a4a2c03c55
treeaea6c3fb1ee0b73df84db1380e91acceaa6604c2
parent73b13416b6588bb5893a4412f74dc12f60b1566c
Bug 2606: Fixed serialization of null augmentations.

Binding DTO contract allowed to use addAugmentation(T,null)
to remove augmentation, but this was not supported
by binding-data-codec.

Added explicit ommision of null augmentations.

Change-Id: Ib16f3a18e6b09ab970dcaef83e3fca4f490c9ec3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
code-generator/binding-data-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/util/AugmentableDispatchSerializer.java