Allon Mureinik has posted comments on this change.

Change subject: core: Quota refactor - parameters
......................................................................


Patch Set 16: Looks good to me, but someone else must approve

(2 inline comments)

minor issues, see inline

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
Line 641:                     + ". Storage pool is not available for quota 
calculation. ");
Line 642:         }
Line 643: 
Line 644:         QuotaConsumptionParametersWrapper 
quotaConsumptionParametersWrapper = new QuotaConsumptionParametersWrapper(this,
Line 645:                 getReturnValue().getCanDoActionMessages());
I'd fold this up to the previous line
Line 646:         
quotaConsumptionParametersWrapper.setParameters(getQuotaConsumptionParameters());
Line 647: 
Line 648:         if (quotaConsumptionParametersWrapper.getParameters() == 
null) {
Line 649:             throw new InvalidQuotaParametersException("Command: " + 
this.getClass().getName()


....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaConsumptionParameter.java
Line 17:     public Guid getQuotaGuid() {
Line 18:         return quotaGuid;
Line 19:     }
Line 20: 
Line 21:     public void setQuotaGuid(Guid quotaGuid) {
Didn't we talk about removing this?
Line 22:         this.quotaGuid = quotaGuid;
Line 23:     }
Line 24: 
Line 25:     public Quota getQuota() {


--
To view, visit http://gerrit.ovirt.org/8775
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iebfc85569ba1aa8bd840f7239f83b7f921a4bd8e
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <oma...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@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: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmis...@linux.vnet.ibm.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

Reply via email to