Reduce use of Lists.new*List() 61/84461/3
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 14 Sep 2019 20:22:55 +0000 (22:22 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 14 Sep 2019 23:22:53 +0000 (01:22 +0200)
commit6de1531da7659f6a4d391c43aaf57cf7e1f14093
tree276689ae7dd5a0e966ddc236f39c941845ee129b
parent25f2236995926fce69afe3cd378bf2c2e1ea0c9e
Reduce use of Lists.new*List()

Pure-java 'new ArrayList<>()' is just as efficient, use that
instead.

Change-Id: Ibfe198885df96b5eba55a861d9a7824dd63f8fd0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/BGPParserTest.java
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParserTest.java
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java
bgp/util/src/main/java/org/opendaylight/protocol/bgp/util/BinaryBGPDumpFileParser.java
bgp/util/src/main/java/org/opendaylight/protocol/bgp/util/HexDumpBGPFileParser.java