Change in ovirt-engine[master]: core: Remove useless DiskImageBase#getCapacity()

amureini at redhat.com amureini at redhat.com
Sun May 22 11:28:13 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Remove useless DiskImageBase#getCapacity()
......................................................................


core: Remove useless DiskImageBase#getCapacity()

getCapacity() just returns getSize(). It's useless to have another
method doing the same thing, so this patch just removes it.

Change-Id: Ib8a29d1cb712efef8fc6b31a0314e8c7ff752efd
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/storage/StorageDomainValidator.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/DiskImageBase.java
2 files changed, 4 insertions(+), 10 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Allon Mureinik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8a29d1cb712efef8fc6b31a0314e8c7ff752efd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list