Change in ovirt-engine[master]: core: Remove unnecessary ternary operator
amureini at redhat.com
amureini at redhat.com
Fri Jan 15 14:04:54 UTC 2016
Allon Mureinik has submitted this change and it was merged.
Change subject: core: Remove unnecessary ternary operator
......................................................................
core: Remove unnecessary ternary operator
DestroyImageCheckCommand is part of the Live Merge flow and has no other
callers besides RemoveSnapshotSingleDiskLiveCommand; as such we can see
that the list used in getParameters().getImageList() was created in the
caller's buildDestroyImageParameters and cannot be null.
Change-Id: I785e71c277ee76e9fde358fd80e1cfd034279cbe
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/DestroyImageCheckCommand.java
1 file changed, 1 insertion(+), 3 deletions(-)
Approvals:
Greg Padgett: Verified
Allon Mureinik: Looks good to me, approved; Passed CI tests
--
To view, visit https://gerrit.ovirt.org/51822
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I785e71c277ee76e9fde358fd80e1cfd034279cbe
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list