Change in ovirt-engine[master]: core: ADL - remove redundant null check

amureini at redhat.com amureini at redhat.com
Tue Feb 12 17:04:59 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: core: ADL - remove redundant null check
......................................................................


core: ADL - remove redundant null check

Removed a redundant null check in AuditLogDirector.log.

The if branch will occur if auditLogable is null, so the else branch
needed double check it - we already know it to be null.

Change-Id: I03de66e7494d1b191ad7c71c726bff4aebc570c1
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I03de66e7494d1b191ad7c71c726bff4aebc570c1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>



More information about the Engine-commits mailing list