Change in ovirt-engine[master]: core: Simplify GlusterGeoRepUtil conditionals

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


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Simplify GlusterGeoRepUtil conditionals
......................................................................


core: Simplify GlusterGeoRepUtil conditionals

Simplify if conditions and replace them with composite boolean
expressions where possible in order to reduce code bloating.

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

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5bc48481f9f0a6e79ac2af06f35f0ccafbe62a05
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