Reduce use of Maps.newHashMap() and Sets.newHashSet() 49/80849/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 14 Mar 2019 10:54:56 +0000 (11:54 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 14 Mar 2019 11:01:09 +0000 (12:01 +0100)
commit3d39133d03b115f78bb9789a8fabf626236319ec
tree9f0924fd231136c9ac233bf4c6724336ba3cd8dc
parenta51a86887d961709efbe30ddc0a0eeadcecfcca8
Reduce use of Maps.newHashMap() and Sets.newHashSet()

We have the diamond-constructor, which is more explicit, use that
instead of this ancient utility method.

Change-Id: I0685a186e531cafed6f85009ebe795eaea08a049
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/extensions/linkstate/src/test/java/org/opendaylight/protocol/bgp/linkstate/ParserTest.java
bgp/parser-mock/src/test/java/org/opendaylight/protocol/bgp/parser/mock/BGPMessageParserMockTest.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPSynchronization.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/StrictBGPPeerRegistry.java