Change in ovirt-engine[master]: core: getEligibleVolumes map iteration

amureini at redhat.com amureini at redhat.com
Mon Nov 30 10:18:15 UTC 2015


Allon Mureinik has submitted this change and it was merged.

Change subject: core: getEligibleVolumes map iteration
......................................................................


core: getEligibleVolumes map iteration

Replace the entrySet() iteration with an iteration over the values(),
since the key is never used, and it just makes the code more complicated
to understand.

Change-Id: I445c92072238776d33cc805346d04fef2a8a5cdc
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GetGlusterGeoReplicationEligibleVolumesQuery.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Allon Mureinik: Verified; Passed CI tests
  Sahina Bose: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I445c92072238776d33cc805346d04fef2a8a5cdc
Gerrit-PatchSet: 2
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: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list