Change in ovirt-engine[master]: webadmin: ClusterListModel#addHost logic

amureini at redhat.com amureini at redhat.com
Tue Jan 19 15:29:54 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: webadmin: ClusterListModel#addHost logic
......................................................................


webadmin: ClusterListModel#addHost logic

Simplified logic by removing a check of a boolean variable that is
known to be true in the first iteration. Note that the loop breaks after
this iteration, so there's no way to enter the loop with a false value.

Change-Id: Idb60a461ffc6677844e9b4f61c7894c1c6c107d1
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterListModel.java
1 file changed, 1 insertion(+), 1 deletion(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idb60a461ffc6677844e9b4f61c7894c1c6c107d1
Gerrit-PatchSet: 8
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: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list