Implement Floodlight module for PathCalcRuntime class and refactor
Change-Id: I57ff45cd11c84db1b30b40fbb5fbc01f657388bf
diff --git a/src/main/java/net/onrc/onos/intent/IntentMap.java b/src/main/java/net/onrc/onos/intent/IntentMap.java
index f9d8b9f..57ce5e0 100644
--- a/src/main/java/net/onrc/onos/intent/IntentMap.java
+++ b/src/main/java/net/onrc/onos/intent/IntentMap.java
@@ -6,7 +6,6 @@
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
-import java.util.List;
import java.util.Map.Entry;
import net.onrc.onos.intent.Intent.IntentState;
@@ -52,7 +51,7 @@
private HashSet<ChangedListener> listeners = new HashSet<>();
protected HashMap<String, Intent> intents = new HashMap<>();
- public void executeOperations(List<IntentOperation> operations) {
+ public void executeOperations(IntentOperationList operations) {
LinkedList<ChangedEvent> events = new LinkedList<>();
for (IntentOperation operation: operations) {
switch (operation.operator) {
@@ -98,7 +97,6 @@
return intents.get(key);
}
-
public void addChangeListener(ChangedListener listener) {
listeners.add(listener);
}