Rework AbstractNormalizedNodePruner 20/81320/41
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 14 May 2019 08:15:19 +0000 (10:15 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 27 Sep 2019 05:22:36 +0000 (05:22 +0000)
commitbb86472bd5abf18630abe60eaf3f20becd013fed
treeda943eb9884ec26a7933e3d5315236b998529bc4
parent7aaff9ef1da193ee421541db1a5b57a7cbf51fb2
Rework AbstractNormalizedNodePruner

This refactors NormalizedNodePruner to use
ReusableImmutableNormalizedNodeStreamWriter for creation of the
actual NormalizedNode tree.

It simplifies the implementation and allows the reuse of minor
optimizations like LeafInterner.

JIRA: CONTROLLER-1889
Change-Id: I93bd00bcff13245d808f7adf6122a6c20156e9fd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/transformer/AbstractNormalizedNodePruner.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/transformer/NormalizedNodeBuilderWrapper.java [deleted file]

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.