commit | d66fe0c1e22fe1053397813d7b403b1ab60f876c | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon Jun 12 14:14:27 2017 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Mon Jun 12 21:40:42 2017 +0000 |
tree | 49b8907515faf3513e9c81a825cb08a5ea412268 | |
parent | 9eed0b1a346e527c1d7b60e96eccf04433898c33 [diff] |
Cosmetic checkstyle fixes Change-Id: Ie1536f4340103ce8600e7e01104135cb847e8eab
diff --git a/providers/netconf/device/src/test/java/org/onosproject/provider/netconf/device/impl/NetconfDeviceProviderTest.java b/providers/netconf/device/src/test/java/org/onosproject/provider/netconf/device/impl/NetconfDeviceProviderTest.java index 2571b88..0f98977 100644 --- a/providers/netconf/device/src/test/java/org/onosproject/provider/netconf/device/impl/NetconfDeviceProviderTest.java +++ b/providers/netconf/device/src/test/java/org/onosproject/provider/netconf/device/impl/NetconfDeviceProviderTest.java
@@ -307,7 +307,7 @@ } private void prepareMocks(int count) { - for(int i = 1; i <= count; i++) { + for (int i = 1; i <= count; i++) { deviceDescription.portDescriptions.add(new DefaultPortDescription(PortNumber.portNumber(i), true)); } } @@ -332,7 +332,7 @@ @Override public void disconnectDevice(DeviceId deviceId, boolean remove) { - netconfDeviceListeners.forEach( l -> l.deviceRemoved(deviceId)); + netconfDeviceListeners.forEach(l -> l.deviceRemoved(deviceId)); } }
diff --git a/providers/ovsdb/device/src/test/java/org/onosproject/ovsdb/providers/device/OvsdbDeviceProviderTest.java b/providers/ovsdb/device/src/test/java/org/onosproject/ovsdb/providers/device/OvsdbDeviceProviderTest.java index 9538f9b..c7dbe7e 100644 --- a/providers/ovsdb/device/src/test/java/org/onosproject/ovsdb/providers/device/OvsdbDeviceProviderTest.java +++ b/providers/ovsdb/device/src/test/java/org/onosproject/ovsdb/providers/device/OvsdbDeviceProviderTest.java
@@ -56,12 +56,6 @@ import java.util.HashSet; import java.util.List; import java.util.Set; -import java.util.concurrent.Callable; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Future; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; import java.util.function.Consumer; import static org.junit.Assert.assertEquals;