Change in ovirt-engine[ovirt-engine-4.0]: core: Remove redundant else when calling registerOvfStoreDisks

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Thu Jun 16 09:01:25 UTC 2016


Piotr Kliczewski has submitted this change and it was merged.

Change subject: core: Remove redundant else when calling registerOvfStoreDisks
......................................................................


core: Remove redundant else when calling registerOvfStoreDisks

Since a false result will cause throwing new exception there is no
reason to keep the else in the if statement.

Change-Id: Iacab6439ec3783924e82cfd292a511ebc3a76e5a
Bug-Url: https://bugzilla.redhat.com/1344314
Signed-off-by: Maor Lipchuk <maorlipchuk at gmail.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/pool/AddStoragePoolWithStoragesCommand.java
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Allon Mureinik: Looks good to me, approved
  Maor Lipchuk: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iacab6439ec3783924e82cfd292a511ebc3a76e5a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list