Use ConcurrentHashMap.newKeySet() 46/85146/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2019 11:51:16 +0000 (13:51 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2019 11:51:16 +0000 (13:51 +0200)
commit0613036fe3fe2a2241eac823ab904d18c6cdaf41
treeeb59910d2e2b99b0f52d679ade8f1a1647c9c92b
parent9b0e2571b0409194cb211eeadecbd476c67fd07e
Use ConcurrentHashMap.newKeySet()

Instead of using Sets.newConcurrentHashSet(), use the utility
method provided by ConcurrentHashMap.

Change-Id: I796e8b6b260f865138a2716f1bb61c983972a4d4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/CarProvider.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.