mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in DeployVMCmd.java
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes #498
This commit is contained in:
parent
6fd49e49a3
commit
dc40f6117b
@ -520,7 +520,7 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
|
||||
|
||||
try {
|
||||
if (maxIops != null) {
|
||||
lMaxIops = Long.valueOf(maxIops);
|
||||
lMaxIops = Long.parseLong(maxIops);
|
||||
}
|
||||
else {
|
||||
lMaxIops = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user