Moti Asayag has posted comments on this change.

Change subject: CommandBase - persist command if the parent command has a 
callback
......................................................................


Patch Set 9:

(1 comment)

https://gerrit.ovirt.org/#/c/41696/9/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java:

Line 1349:         }
Line 1350:     }
Line 1351: 
Line 1352:     public boolean parentHasCallback() {
Line 1353:         if (getParameters().getParentCommand() != 
VdcActionType.Unknown && getParameters().getParentCommand() != getActionType()) 
{
please format. lines too long.

also consider extracting getParameters().getParentCommand() to a local variable 
to shorten the lines and simplify the readability.
Line 1354:             CommandEntity commandEntity = 
CommandCoordinatorUtil.getCommandEntity(getParameters().getParentParameters().getCommandId());
Line 1355:             return commandEntity != null && 
commandEntity.isCallBackEnabled();
Line 1356:         }
Line 1357: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If15fad1db94e7a0bdc51d02afc9b952b4e980e4b
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to