Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: refactor findCurrentNetwork to use Java8 streams API
......................................................................
restapi: refactor findCurrentNetwork to use Java8 streams API
Refactor findCurrentNetwork method so that won't return null literally.
That should mak code more readable and should make
Coverity happier (CID 1353712).
Change-Id: I828b935ff83d238197c69756dcd16ecf9f201074
Signed-off-by: Yevgeny Zaspitsky <yzaspits(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/openstack/BackendOpenStackNetworkResource.java
1 file changed, 16 insertions(+), 11 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Jenkins CI: Passed CI tests
Yevgeny Zaspitsky: Verified
--
To view, visit
https://gerrit.ovirt.org/57118
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I828b935ff83d238197c69756dcd16ecf9f201074
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzaspits(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Marcin Mirecki <mmirecki(a)redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>