Moti Asayag has uploaded a new change for review.

Change subject: engine: Add type for instantiated DecoratedCommand
......................................................................

engine: Add type for instantiated DecoratedCommand

Change-Id: I9731786039c97d98ca369cd0a2583f28a41ad8d8
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/17/38517/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
index 4853208..cecf6a5 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
@@ -334,7 +334,7 @@
         VdcActionType actionType = getEndActionType(dbAsyncTask);
         VdcActionParametersBase parameters = dbAsyncTask.getActionParameters();
         CommandBase<?> command = buildCommand(actionType, parameters, context, 
coco.getCommandStatus(dbAsyncTask.getCommandId()));
-        return new DecoratedCommand(command).endAction();
+        return new DecoratedCommand<>(command).endAction();
     }
 
     private CommandBase<?> buildCommand(VdcActionType actionType,


-- 
To view, visit https://gerrit.ovirt.org/38517
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9731786039c97d98ca369cd0a2583f28a41ad8d8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to