Bug 4295: Fixed incorrectly introduced nodes when MERGE was followed by DELETE 19/33119/1
authorTony Tkacik <ttkacik@cisco.com>
Wed, 20 Jan 2016 17:20:32 +0000 (18:20 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Wed, 20 Jan 2016 17:24:41 +0000 (17:24 +0000)
commitf3a3253eb4a5033515898723fcee5a9819135729
treebe44320402669c792f74c526029056a730f8238f
parent63e86447c2be28af9142b310f67a07e2e0a87ed4
Bug 4295: Fixed incorrectly introduced nodes when MERGE was followed by DELETE

ModificationNode lost state in situations when
parent node was MERGE which indroduced child nodes
and child node was deleted. That resulted into recording NONE,
which during apply of MERGE was expanded back to original MERGE
which caused reintroduction of deleted node.

Change-Id: Ia2085f5475b49957ef8ac7ab6c629ca3eef803f2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/ModifiedNode.java