Moti Asayag has uploaded a new change for review. Change subject: engine: Maintain max line length ......................................................................
engine: Maintain max line length Lines shouldn't exceed 120 characters. Change-Id: I6dd5de7fe4e56328aaa04fd3fc5440e0782dc512 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, 6 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/18/38518/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 cecf6a5..4ab0356 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 @@ -288,7 +288,10 @@ CommandBase<?> command, AsyncTaskCreationInfo asyncTaskCreationInfo, VdcActionType parentCommand) { - Guid parentCommandId = command.getParameters().getParentParameters() == null ? Guid.Empty : command.getParameters().getParentParameters().getCommandId(); + Guid parentCommandId = + command.getParameters().getParentParameters() == null ? Guid.Empty : command.getParameters() + .getParentParameters() + .getCommandId(); VdcActionParametersBase parentParameters = command.getParentParameters(parentCommand); if (VdcActionType.Unknown.equals(command.getParameters().getCommandType())) { command.getParameters().setCommandType(command.getActionType()); @@ -342,7 +345,8 @@ ExecutionContext executionContext, CommandStatus cmdStatus) { CommandBase<?> command; - CommandContext cmdContext = new CommandContext(new EngineContext()).withExecutionContext(executionContext == null ? new ExecutionContext() : executionContext); + ExecutionContext cmdExecutionContext = executionContext == null ? new ExecutionContext() : executionContext; + CommandContext cmdContext = new CommandContext(new EngineContext()).withExecutionContext(cmdExecutionContext); if (CommandsFactory.hasConstructor(actionType, parameters, cmdContext)) { command = CommandsFactory.createCommand(actionType, parameters, cmdContext); } else { -- To view, visit https://gerrit.ovirt.org/38518 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6dd5de7fe4e56328aaa04fd3fc5440e0782dc512 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
