X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Finternal%2FFlowProgrammerServiceTest.java;h=a751948de7d5a73d22696f66a0bcefb15ca82b53;hp=ad225d94ddb7653fc223d3323079796d90278fa7;hb=62e7364552cc671134c06821e6f9dbe3579ea0dc;hpb=2d36fc2f0b7691efe2f641beacd146c260676fea diff --git a/opendaylight/protocol_plugins/openflow/src/test/java/org/opendaylight/controller/protocol_plugin/openflow/internal/FlowProgrammerServiceTest.java b/opendaylight/protocol_plugins/openflow/src/test/java/org/opendaylight/controller/protocol_plugin/openflow/internal/FlowProgrammerServiceTest.java index ad225d94dd..a751948de7 100644 --- a/opendaylight/protocol_plugins/openflow/src/test/java/org/opendaylight/controller/protocol_plugin/openflow/internal/FlowProgrammerServiceTest.java +++ b/opendaylight/protocol_plugins/openflow/src/test/java/org/opendaylight/controller/protocol_plugin/openflow/internal/FlowProgrammerServiceTest.java @@ -17,7 +17,6 @@ import java.util.List; import org.junit.Assert; import org.junit.Test; -import org.opendaylight.controller.protocol_plugin.openflow.internal.FlowConverter; import org.opendaylight.controller.protocol_plugin.openflow.vendorextension.v6extension.V6Match; import org.openflow.protocol.OFMatch; import org.openflow.protocol.action.OFAction; @@ -52,7 +51,7 @@ public class FlowProgrammerServiceTest { @Test public void testSALtoOFFlowConverter() throws UnknownHostException { - Node node = NodeCreator.createOFNode(1000l); + Node node = NodeCreator.createOFNode(1000L); NodeConnector port = NodeConnectorCreator.createNodeConnector( (short) 24, node); NodeConnector oport = NodeConnectorCreator.createNodeConnector( @@ -181,7 +180,7 @@ public class FlowProgrammerServiceTest { @Test public void testVlanNoneIdFlowConversion() throws Exception { - Node node = NodeCreator.createOFNode(1000l); + Node node = NodeCreator.createOFNode(1000L); /* * The value 0 is used to indicate that no VLAN ID is set @@ -230,7 +229,7 @@ public class FlowProgrammerServiceTest { @Test public void testV6toSALFlowConversion() throws Exception { - Node node = NodeCreator.createOFNode(12l); + Node node = NodeCreator.createOFNode(12L); NodeConnector port = NodeConnectorCreator.createNodeConnector( (short) 34, node); NodeConnector oport = NodeConnectorCreator.createNodeConnector( @@ -366,7 +365,7 @@ public class FlowProgrammerServiceTest { public void testV6MatchToSALMatchToV6MatchConversion() throws UnknownHostException { NodeConnector port = NodeConnectorCreator.createNodeConnector( - (short) 24, NodeCreator.createOFNode(6l)); + (short) 24, NodeCreator.createOFNode(6L)); byte srcMac[] = { (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78, (byte) 0x9a, (byte) 0xbc }; byte dstMac[] = { (byte) 0x1a, (byte) 0x2b, (byte) 0x3c, (byte) 0x4d,