Skip to content

Commit dc40f61

Browse files
rsafonsecaDaanHoogland
authored andcommitted
Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in DeployVMCmd.java
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes apache#498
1 parent 6fd49e4 commit dc40f61

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
@@ -520,7 +520,7 @@ private void verifyMinAndMaxIops(String minIops, String maxIops) {
520520

521521
try {
522522
if (maxIops != null) {
523-
lMaxIops = Long.valueOf(maxIops);
523+
lMaxIops = Long.parseLong(maxIops);
524524
}
525525
else {
526526
lMaxIops = 0;

0 commit comments

Comments
 (0)