Apply modernization to MultiPathSupportImplTest 04/84904/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Oct 2019 14:56:44 +0000 (16:56 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Oct 2019 09:41:45 +0000 (11:41 +0200)
Use plain new ArrayList<>().

Change-Id: I045d3fe9dfe3ee6f6da0967bf44a4e2ea89e45bb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/parser-spi/src/test/java/org/opendaylight/protocol/bgp/parser/spi/pojo/MultiPathSupportImplTest.java

index b6bfefb0f922fdb25aa78de941cdb53ccd5f9980..47d64c4f7ccf55c3a5122fcb93a7c095c423f287 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.protocol.bgp.parser.spi.pojo;
 
-import com.google.common.collect.Lists;
+import java.util.ArrayList;
 import java.util.List;
 import org.junit.Assert;
 import org.junit.Test;
@@ -31,7 +31,7 @@ public class MultiPathSupportImplTest {
 
     @Test
     public void testIsTableTypeSupported() {
-        final List<AddressFamilies> supportedTables = Lists.newArrayList();
+        final List<AddressFamilies> supportedTables = new ArrayList<>();
         final BgpTableType ipv4Unicast = new BgpTableTypeImpl(Ipv4AddressFamily.class,
             UnicastSubsequentAddressFamily.class);
         final BgpTableType ipv4L3vpn = new BgpTableTypeImpl(Ipv4AddressFamily.class,