commit | 119fc53d7272184333b0a90fc911b988bc25d5a1 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Mon Apr 29 11:43:05 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Mon Apr 29 12:24:15 2019 -0400 |
tree | 9ad07e0f17eb87c0bd74b7d83c34cbb26b45a582 | |
parent | 5c0b134f3054415a10516732efff1f958e649c43 [diff] |
Fix sonar issue with double compare The gson code to convert Double to Long/Integer use a direct comparison of the original double with a long. However, sonar does not like that so changed the code to use the Double.compare() method instead. Also fixed sonar issue with diamond operator. Addressed some sonar issues in ServiceManager. Addressed some sonar issues in Version. Change-Id: I0959603918d251db671e87e12c295c6ec911f427 Issue-ID: POLICY-1707 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: