commit | 5799b60da07b9ae640f9d7488d9251a349e059f7 | [log] [tgz] |
---|---|---|
author | Toshio Koide <t-koide@onlab.us> | Mon Feb 10 15:29:06 2014 -0800 |
committer | Toshio Koide <t-koide@onlab.us> | Mon Feb 10 20:38:24 2014 -0800 |
tree | 18e663f17a36615ce3769ca33315b9bf85fa7388 | |
parent | 891d0501611556a84346dd9a091e47f2adbe0a19 [diff] [blame] |
Implement DeviceImpl and Path class, and minor change Change-Id: I666d6d7e00620220048c5f8031a7c7c149ec89cd
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/FloodlightToOnosMappers.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/FloodlightToOnosMappers.java index ebff81d..dbf8750 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/FloodlightToOnosMappers.java +++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/FloodlightToOnosMappers.java
@@ -17,7 +17,7 @@ } public static Port map(NetworkGraph graph, SwitchImpl sw, OFPhysicalPort port) { - PortImpl onosPort = new PortImpl(graph, sw, new Long(port.getPortNumber())); + PortImpl onosPort = new PortImpl(graph, sw, Long.valueOf(port.getPortNumber())); onosPort.setDescription(port.getName()); return onosPort; }