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 <lara...@redhat.com> Gerrit-Reviewer: Greg Padgett <gpadg...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Liron Aravot <lara...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches