Use LogicalDatastoreType.toMdsal() 18/76518/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Oct 2018 08:39:27 +0000 (10:39 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Oct 2018 08:39:27 +0000 (10:39 +0200)
commitbc83a3eb1d1bd51865f97bfb4262716fe7841293
treeaa30527ad19108b72d80e0d26c917119e7709653
parent0425ce4501aec2d8f96d6379baa1116a5350fba2
Use LogicalDatastoreType.toMdsal()

Use direct converter method rather than matching through name, which
results in faster mapping.

Change-Id: Ic247ebc5c5704d3eb1953eea4d7f36b1d3d49cb8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-dom-compat/src/main/java/org/opendaylight/controller/sal/core/compat/LegacyDOMDataBrokerAdapter.java

©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.