Do not issue empty list merges 79/77479/3
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 4 Nov 2018 18:31:16 +0000 (19:31 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 4 Nov 2018 21:57:51 +0000 (22:57 +0100)
commit0c6c0cc55f3ea57ff2f6bd15f9fdf97a5d4a0f08
tree56851f879fbe33f0709bfa7aa3a246013b7d9d67
parentd6329c20361ad286bb0f907b1c48e33eb860749f
Do not issue empty list merges

List nodes undergo atomatic lifecycle, i.e. they are created
as needed. This means we do issue an empty merge when a list
entry is written from binding -- reducing the number of operations
issued in typical operation.

Also mark BindingToNormalizedNodeCodec.getDefaultNodeFor() as
deprecated, because it should never have been public in the first
place.

JIRA: MDSAL-383
Change-Id: Ie41dbd9d238990f3e136043b87d002bf55557501
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/AbstractWriteTransaction.java
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/BindingToNormalizedNodeCodec.java