BUG-650: squash maps to Collections.emptyMap()
authorRobert Varga <rovarga@cisco.com>
Mon, 8 Sep 2014 17:11:54 +0000 (19:11 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 8 Sep 2014 17:23:12 +0000 (19:23 +0200)
commit6b0562b553b68d359317ec628102c3fc3c5536e9
tree0fd9b119f38b77118b8c197e0e9af923df0e509e
parent6f0e13bbfe07111311d275915b1f871d4a294c34
BUG-650: squash maps to Collections.emptyMap()

If possible, we do not retain mutable maps, but rather short-cut to
emptyMap(). This should help us a bit when traversing empty elements.

Change-Id: Iff7eccfcc99c451d11f87cf466c7f09bde63ee10
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-inmemory-datastore/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/ResolveDataChangeState.java