Reduce use of newArrayList()/newHashSet() 76/77976/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 20 Nov 2018 12:10:44 +0000 (13:10 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 20 Nov 2018 13:43:00 +0000 (14:43 +0100)
commit5b5f7c623d5bb63858afdc5321bed03e73138c9e
treeeb062f5ac714a62a469fe54f068cd24422089858
parent34ec42a1c5a43d8c2b3d019c7a7981f08429c5a1
Reduce use of newArrayList()/newHashSet()

These methods are not needed with modern java, do not use them.

Change-Id: If6cb8780f2277c80ef84d72daa89f92833677e84
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/extensions/mvpn/src/main/java/org/opendaylight/protocol/bgp/mvpn/impl/attributes/PEDistinguisherLabelsAttributeHandler.java
bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/CapabilityParameterParser.java
bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParser.java
bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParser.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionImpl.java
bgp/rib-mock/src/main/java/org/opendaylight/protocol/bgp/rib/mock/EventBusRegistration.java