Change in ovirt-engine[master]: engine: Refactor statements with ternary operators

masayag at redhat.com masayag at redhat.com
Mon Nov 12 17:08:07 UTC 2012


Moti Asayag has submitted this change and it was merged.

Change subject: engine: Refactor statements with ternary operators
......................................................................


engine: Refactor statements with ternary operators

Re-format complex statements with ternary operators in
MigrateVmCommand#getAuditLogTypeValue and
RunVmCommand#getAuditLogTypeValue methods so that they would be
more readable.

Change-Id: I3d28bd2813a69ab4968ac76927f892fccad20164
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
2 files changed, 20 insertions(+), 11 deletions(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3d28bd2813a69ab4968ac76927f892fccad20164
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra at linux.vnet.ibm.com>



More information about the Engine-commits mailing list