Use Map.entry() instead of SimpleImmutableEntry
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Oct 2020 00:03:12 +0000 (01:03 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Oct 2020 11:03:52 +0000 (12:03 +0100)
commit5c8b35976328274cdc325a20c9205d92279ad351
treedfef98dd0e08b553cc179a0e89148912202376ea
parent57091a3c275818e4bdd1fe81d8824658199a6966
Use Map.entry() instead of SimpleImmutableEntry

We are using these a dumb DTOs, hence using a value-based
non-serializable implementation is more appropriate.

JIRA: MDSAL-605
Change-Id: Ie36c397a6e265328f31b70dce05b8c72b8756584
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 6ef51407a2c1731520c3a246442386093e67aeeb)
dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/query/DOMQueryIterator.java