Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Avoid useless condition in "VersionMapper"
......................................................................
restapi: Avoid useless condition in "VersionMapper"
This is needed in order to avoid the following findbugs warning:
Condition has no effect
This condition always produces the same result as the value of the
involved variable was narrowed before. Probably something else was
meant or condition can be removed.
Bug kind and pattern: UC - UC_USELESS_CONDITION
Change-Id: Id1df506d4f924d120e50f4058b2518bee7bd9901
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VersionMapper.java
1 file changed, 6 insertions(+), 8 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/46585
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id1df506d4f924d120e50f4058b2518bee7bd9901
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org