Do not use entrySet() where values() or keySet() suffices 59/46359/1
authorRobert Varga <rovarga@cisco.com>
Tue, 20 Sep 2016 01:48:33 +0000 (03:48 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 3 Oct 2016 11:36:04 +0000 (13:36 +0200)
commitd64f504392ed8348735d7c609022c7eebcd38d29
tree349200949fcb5e9d776611600542426d91354451
parent0b4eee8d787f1c4871e6fc44047d6f5f89e22ba6
Do not use entrySet() where values() or keySet() suffices

Instead of forcing instatiation of entrySet() and using only
part of the provided data, use values() and keySet() based
on what we really need.

Change-Id: I0a9333b872f9c56e1fa4eddb985309741cf77fe8
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit c935f35b6eb698878eb73ba439a57fb7f40d6539)
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardDataModification.java
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/WriteableNodeOperation.java
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/WriteableNodeWithSubshard.java