BUG-3674: delete of non-existing data is a no-op 71/22471/3
authorRobert Varga <rovarga@cisco.com>
Fri, 12 Jun 2015 13:59:56 +0000 (15:59 +0200)
committerRobert Varga <rovarga@cisco.com>
Fri, 12 Jun 2015 17:05:46 +0000 (19:05 +0200)
commit130683fbb867372bfa1a1d63fd491b182081aa1b
tree28210fd7ad61288048e1808a640805a32f1a81e4
parente7aa2724f81a2eaae2b56d3e0e2d7f4a11a93b67
BUG-3674: delete of non-existing data is a no-op

As noted in the comments, a delete on non-existing data is a no-op. That
means the user should see an UNMODIFIED modification, not a DELETE.

Change-Id: Ic9f79b99eefa352549b363c4754566da66ed0d55
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/SchemaAwareApplyOperation.java
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/Bug3674Test.java [new file with mode: 0644]