Bug 2606: Fixed serialization of null augmentations. 50/14250/1
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)
commitba6f94b348ce7ff005896aa267d75bbc3a664957
treef5ba85aad375f43850a648bc86079a4109e3dc05
parent691917ccdbdd7ad3b4c3da372067408ad09b3031
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