Sho SHIMIZU

Avoid unnecessary unboxing

Change-Id: Ib535352c1b9be6073c0dfc4df6ee8d99577caeea
...@@ -114,7 +114,7 @@ public class OvsdbTunnelConfig extends AbstractHandlerBehaviour ...@@ -114,7 +114,7 @@ public class OvsdbTunnelConfig extends AbstractHandlerBehaviour
114 String ip = deviceId.toString().substring(fistColon + 1, lastColon); 114 String ip = deviceId.toString().substring(fistColon + 1, lastColon);
115 String port = deviceId.toString().substring(lastColon + 1); 115 String port = deviceId.toString().substring(lastColon + 1);
116 IpAddress ipAddress = IpAddress.valueOf(ip); 116 IpAddress ipAddress = IpAddress.valueOf(ip);
117 - long portL = Long.valueOf(port).longValue(); 117 + long portL = Long.parseLong(port);
118 return new OvsdbNodeId(ipAddress, portL); 118 return new OvsdbNodeId(ipAddress, portL);
119 } 119 }
120 120
......