Skip to content

Commit d0a494b

Browse files
rsafonsecayadvr
authored andcommitted
Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING in DeployVMCmd.java Was creating Long to assign to long
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes apache#417
1 parent 89a0708 commit d0a494b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ private void verifyMinAndMaxIops(String minIops, String maxIops) {
506506

507507
try {
508508
if (minIops != null) {
509-
lMinIops = Long.valueOf(minIops);
509+
lMinIops = Long.parseLong(minIops);
510510
}
511511
else {
512512
lMinIops = 0;

0 commit comments

Comments
 (0)