diff --git a/src/main/java/net/floodlightcontroller/flowcache/PortDownReconciliation.java b/src/main/java/net/floodlightcontroller/flowcache/PortDownReconciliation.java index 7a4275a33c808bcab9e987aa146cbc57725277dc..8ec19a636fdbd812997fe074c0b26fa4b686fdda 100644 --- a/src/main/java/net/floodlightcontroller/flowcache/PortDownReconciliation.java +++ b/src/main/java/net/floodlightcontroller/flowcache/PortDownReconciliation.java @@ -154,8 +154,8 @@ public class PortDownReconciliation implements IFloodlightModule, @Override public void startUp(FloodlightModuleContext context) { - topology.addListener((ITopologyListener) this); - frm.addFlowReconcileListener((IFlowReconcileListener) this); + topology.addListener(this); + frm.addFlowReconcileListener(this); } @Override diff --git a/src/test/java/net/floodlightcontroller/flowcache/PortDownReconciliationTest.java b/src/test/java/net/floodlightcontroller/flowcache/PortDownReconciliationTest.java index 29912bfeb37761e6049918d5ef3f93a8cd27c7d7..bf209aeff94ae8d3c8a11e92b35ac37fc74dbf94 100644 --- a/src/test/java/net/floodlightcontroller/flowcache/PortDownReconciliationTest.java +++ b/src/test/java/net/floodlightcontroller/flowcache/PortDownReconciliationTest.java @@ -103,7 +103,8 @@ public class PortDownReconciliationTest extends FloodlightTestCase { protected FloodlightContext cntx; protected List<OFStatistics> statsReply; - @Before + @Override + @Before public void setUp() throws Exception { super.setUp();