Skip to content
Snippets Groups Projects
Commit 19bc7f8a authored by Shudong Zhou's avatar Shudong Zhou
Browse files

Trivial merge fix for BasicFactory

parent 8d8b474a
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ public class OFSwitchBaseTest {
.setTargetProtocolAddress(IPv4.toIPv4AddressBytes("192.168.1.2")));
testPacketSerialized = testPacket.serialize();
pi = ((OFPacketIn) new BasicFactory().getMessage(OFType.PACKET_IN))
pi = ((OFPacketIn) BasicFactory.getInstance().getMessage(OFType.PACKET_IN))
.setBufferId(-1)
.setInPort((short) 1)
.setPacketData(testPacketSerialized)
......@@ -136,7 +136,7 @@ public class OFSwitchBaseTest {
switches.put(sw.getId(), sw);
expect(floodlightProvider.getSwitches()).andReturn(switches).anyTimes();
expect(floodlightProvider.getOFMessageFactory())
.andReturn(new BasicFactory()).anyTimes();
.andReturn(BasicFactory.getInstance()).anyTimes();
replay(floodlightProvider);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment