Convert to using requireNonNull()
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / client / stress / AbstractExecutionStrategy.java
index b59df5495b3752e70792724e117ce8bdf5cbac07..6f1a477696468ff3237a97463a3bf5d20aaa642c 100644 (file)
@@ -5,10 +5,9 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.netconf.test.tool.client.stress;
 
-import com.google.common.collect.Lists;
+import java.util.ArrayList;
 import java.util.List;
 import org.opendaylight.netconf.api.NetconfMessage;
 import org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator;
@@ -30,7 +29,7 @@ abstract class AbstractExecutionStrategy implements ExecutionStrategy {
     }
 
     private static List<Integer> countEditBatchSizes(final Parameters params, final int amount) {
-        final List<Integer> editBatches = Lists.newArrayList();
+        final List<Integer> editBatches = new ArrayList<>();
         if (params.editBatchSize != amount) {
             final int fullBatches = amount / params.editBatchSize;
             for (int i = 0; i < fullBatches; i++) {