BUG-2606: formalize the augmentation removal
authorRobert Varga <rovarga@cisco.com>
Mon, 19 Jan 2015 16:11:36 +0000 (17:11 +0100)
committerRobert Varga <rovarga@cisco.com>
Mon, 19 Jan 2015 16:11:36 +0000 (17:11 +0100)
commit678782c66daefe7f23da735dabbfe36e8b8f9d09
tree14d5dd74b86a4fbafab77d4ee0dae08e01c26eba
parentb41c506e156ffde782fd3ccc84d37479a0ce7715
BUG-2606: formalize the augmentation removal

Setting an augmentation to null has the same effect as removing it,
when accessing it via getAugmentation(). Formalize this actually
removing the mapping, which is more space-efficient.

Change-Id: I994b459161d9d374c80a353b82763dfb31faaf3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
code-generator/binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/BuilderTemplate.xtend