Renamed the Pair.left and Pair.right fields to Pair.first and Pair.second
This is done for consistency with the C++ "std::pair" class template
from the STL (Standard Template Library).
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/FlowPusher.java b/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/FlowPusher.java
index 853591a..c3c7107 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/FlowPusher.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/FlowPusher.java
@@ -458,7 +458,7 @@
new LinkedList<Pair<IOFSwitch, FlowEntry>>();
for (Pair<IOFSwitch, FlowEntry> entry : entries) {
- if (add(entry.left, entry.right)) {
+ if (add(entry.first, entry.second)) {
pushedEntries.add(entry);
}
}