mirror of https://github.com/apache/cloudstack.git
Fix findbugs warning in ApiDispatcher.java Unnecessary boxing/unboxing of long value
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #430
This commit is contained in:
parent
9511831f0a
commit
62e78cdea0
|
|
@ -108,7 +108,7 @@ public class ApiDispatcher {
|
|||
|
||||
final BaseAsyncCmd asyncCmd = (BaseAsyncCmd)cmd;
|
||||
final String startEventId = params.get(ApiConstants.CTX_START_EVENT_ID);
|
||||
ctx.setStartEventId(Long.valueOf(startEventId));
|
||||
ctx.setStartEventId(Long.parseLong(startEventId));
|
||||
|
||||
// Synchronise job on the object if needed
|
||||
if (asyncCmd.getJob() != null && asyncCmd.getSyncObjId() != null && asyncCmd.getSyncObjType() != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue