Initialized visitedAddresses to a smaller list 54/36654/4
authorRobert Varga <rovarga@cisco.com>
Wed, 23 Mar 2016 15:37:04 +0000 (16:37 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Tue, 29 Mar 2016 18:30:38 +0000 (18:30 +0000)
commit849db3eff0c710410aaed61a709ba69b491a75bd
tree9e96eee2a3c5a917019f534a1679aa8678438355
parent17d19bca1350102fd5ca1a1b7162cc5fc2ac9f79
Initialized visitedAddresses to a smaller list

Adds final keyword to force initialization and provide a hint that
the list will have a single entry.

Change-Id: I8c562faa5ce6f6303ab11717e55b624a31720281
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManager.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.