Change in ovirt-engine[master]: core: remove redundant nullcheck

lhornyak at redhat.com lhornyak at redhat.com
Thu Sep 27 09:30:32 UTC 2012


Laszlo Hornyak has submitted this change and it was merged.

Change subject: core: remove redundant nullcheck
......................................................................


core: remove redundant nullcheck

storageDomainFromList.getstatus() != null does not have to be performed,
since if it is StorageDomainStatus.Active, then it can not be null at
the same time.

Change-Id: Ib5dcc5684b99ad5796d185aeac1e64a7c904df35
Signed-off-by: Laszlo Hornyak <lhornyak at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Laszlo Hornyak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5dcc5684b99ad5796d185aeac1e64a7c904df35
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra at linux.vnet.ibm.com>



More information about the Engine-commits mailing list