Ravi Nori has posted comments on this change. Change subject: core: Preventing host activation when host is non responsive ......................................................................
Patch Set 6: Looks good to me, but someone else must approve (1 inline comment) Just a minor comment on equals .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsValidator.java Line 68: } Line 69: if (vds.getStatus().equals(VDSStatus.Up)) { Line 70: return new ValidationResult(VdcBllMessages.VDS_ALREADY_UP); Line 71: } Line 72: if (vds.getStatus().equals(VDSStatus.NonResponsive)) { is it better practice to do the following if (VDSStatus.NonResponsive.equals(vds.getStatus())) same for the check above Line 73: return new ValidationResult(VdcBllMessages.VDS_NON_RESPONSIVE); Line 74: } Line 75: return ValidationResult.VALID; Line 76: } -- To view, visit http://gerrit.ovirt.org/16650 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I02846c6e1bc780f5b80a9e99c167f49d24c6bc57 Gerrit-PatchSet: 6 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com> Gerrit-Reviewer: Martin Peřina <mper...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches