Ayaka Koshibe

fixed missed checkstyle complaints

Change-Id: I91a2da4a7daaaa3a98115a8cd118d31d54277ab2
......@@ -22,7 +22,6 @@ import org.onlab.onos.net.packet.PacketProviderRegistry;
import org.onlab.onos.net.packet.PacketProviderService;
import org.onlab.onos.net.provider.AbstractProvider;
import org.onlab.onos.net.provider.ProviderId;
import org.onlab.onos.openflow.controller.DefaultOpenFlowPacketContext;
import org.onlab.onos.openflow.controller.Dpid;
import org.onlab.onos.openflow.controller.OpenFlowController;
import org.onlab.onos.openflow.controller.OpenFlowPacketContext;
......
......@@ -99,9 +99,8 @@ public class OpenFlowPacketProviderTest {
}
@Test(expected = IllegalArgumentException.class)
public void scheme() {
public void wrongScheme() {
sw.setRole(RoleState.MASTER);
//device has wrong scheme
OutboundPacket schemeFailPkt = outPacket(DID_WRONG, TR, null);
provider.emit(schemeFailPkt);
assertEquals("message sent incorrectly", 0, sw.sent.size());
......@@ -235,7 +234,6 @@ public class OpenFlowPacketProviderTest {
private class TestController implements OpenFlowController {
int prio;
PacketListener pktListener;
OpenFlowSwitch current;
......@@ -284,7 +282,6 @@ public class OpenFlowPacketProviderTest {
@Override
public void addPacketListener(int priority, PacketListener listener) {
prio = priority;
pktListener = listener;
}
......@@ -318,19 +315,6 @@ public class OpenFlowPacketProviderTest {
}
private class TestPacketProviderService implements PacketProviderService {
@Override
public PacketProvider provider() {
return null;
}
@Override
public void processPacket(PacketContext context) {
}
}
private class TestOpenFlowSwitch implements OpenFlowSwitch {
List<OFPortDesc> ports;
......