Gilad Chaplik has posted comments on this change. Change subject: core: RunVmCommand.canDoAction cleanup (1) ......................................................................
Patch Set 4: (2 inline comments) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java Line 683: return false; Line 684: } Line 685: Line 686: // check for Vm Payload Line 687: if (canDoAction && getParameters().getVmPayload() != null) { for all comments: all are good points, can be dealt in a later clean-up patches, in my eyes not worth the conflicts in rebasing at this point. if the maintainers will decide to squash the patch-set, I will fix it then (or in a later clean-up patch). Line 688: canDoAction = checkPayload(getParameters().getVmPayload(), Line 689: getParameters().getDiskPath()); Line 690: Line 691: if (canDoAction && !StringUtils.isEmpty(getParameters().getFloppyPath()) && .................................................... File backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/vmproperties/VmPropertiesUtils.java Line 29: Line 30: private static VmPropertiesUtils vmPropertiesUtils = null; Line 31: Line 32: public static VmPropertiesUtils getInstance() { Line 33: if (vmPropertiesUtils == null) { consulted with mkublin, he is okay with this. Line 34: synchronized (VmPropertiesUtils.class) { Line 35: if (vmPropertiesUtils == null) { Line 36: vmPropertiesUtils = new VmPropertiesUtils(); Line 37: } -- To view, visit http://gerrit.ovirt.org/13397 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I60bbdb54d150878123968893c23169de253e1ba2 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Gilad Chaplik <gchap...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhorn...@redhat.com> Gerrit-Reviewer: Martin Peřina <mper...@redhat.com> Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: ofri masad <oma...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches