Change in ovirt-engine[master]: core: cleanup: remove unnecessary variable and ifs

tnisan at redhat.com tnisan at redhat.com
Thu Feb 7 09:23:50 UTC 2013


Tal Nisan has submitted this change and it was merged.

Change subject: core: cleanup: remove unnecessary variable and ifs
......................................................................


core: cleanup: remove unnecessary variable and ifs

BaseImagesCommand.getImage() used unnecessary auxiliary variable and if
statements for class member mImage assignment, and now only uses class
member mImage.

Change-Id: If4ce2493c4cda5bc851aafb7a1abdc2dba9a99b5
Signed-off-by: Vered Volansky <vvolansk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/BaseImagesCommand.java
1 file changed, 3 insertions(+), 8 deletions(-)

Approvals:
  Tal Nisan: Verified; Looks good to me, approved
  Vered Volansky: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: If4ce2493c4cda5bc851aafb7a1abdc2dba9a99b5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini 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