Change in ovirt-engine[master]: ui: Simplify keySelected eval in KeyValueModel

amureini at redhat.com amureini at redhat.com
Sun Feb 24 06:40:46 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: ui: Simplify keySelected eval in KeyValueModel
......................................................................


ui: Simplify keySelected eval in KeyValueModel

Simplify the evaluation of eventRaised()'s keySelected variable in
KeyValueModel - listModel's getSelectedItem() is called a couple of
rows beforehand, so it is clearly not null.

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

Approvals:
  Tal Nisan: Looks good to me, approved
  Allon Mureinik: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2a27e4e18774775c12b7f824a9b5c5a433397a3a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>



More information about the Engine-commits mailing list