In the context of applying candidate to cursor
state APPEARED and DISPAPPEARED should be handled
same way as SUBTREE_MODIFIED.
Change-Id: I220aab3fc94fdec9cf3a158bf4c756c120d9120d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
case DELETE:
cursor.delete(node.getIdentifier());
break;
case DELETE:
cursor.delete(node.getIdentifier());
break;
+ case APPEARED:
+ case DISAPPEARED:
case SUBTREE_MODIFIED:
final Collection<DataTreeCandidateNode> children = node.getChildNodes();
if (!children.isEmpty()) {
case SUBTREE_MODIFIED:
final Collection<DataTreeCandidateNode> children = node.getChildNodes();
if (!children.isEmpty()) {