Bug 4295: Fixed incorrectly introduced nodes when MERGE was followed by DELETE 18/33118/2
authorTony Tkacik <ttkacik@cisco.com>
Wed, 20 Jan 2016 17:20:32 +0000 (18:20 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 20 Jan 2016 18:01:49 +0000 (18:01 +0000)
commit556f7f7e746d122eff237e4e872a6cda8c1de4f4
tree48bab262a94c82affff36281914deda3549abf58
parent0ff4283302f42d8c738bd6636d1ddd38a9018a35
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