mirror of https://github.com/apache/cloudstack.git
Fix findbugs warning in NetUtils.java Unnecessary boxing/unboxing of primitive value
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #435
This commit is contained in:
parent
ec280189f4
commit
14f761a976
|
|
@ -1080,7 +1080,7 @@ public class NetUtils {
|
|||
|
||||
public static String getDhcpRange(final String cidr) {
|
||||
final String[] splitResult = cidr.split("\\/");
|
||||
final long size = Long.valueOf(splitResult[1]);
|
||||
final long size = Long.parseLong(splitResult[1]);
|
||||
return NetUtils.getIpRangeStartIpFromCidr(splitResult[0], size);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue