commit | fb9bd637567096f6174bbc2e52a5e149a4eed882 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Wed Sep 30 12:52:25 2020 -0400 |
committer | Jim Hahn <jrh3@att.com> | Wed Sep 30 14:59:39 2020 -0400 |
tree | 7b0d2df1aefbb3635788af501be1157fbe05d798 | |
parent | e8e477ab80c6762fb05aebfe9becc630d2d51e39 [diff] |
Fix new sonars in drools-apps Addressed the following sonars: - too many assertions in test method - rename test class - use static method to modify static field - use already defined constant - code always returns the same value - use assertNotSame - use appropriate class name to access static method - define a constant - extract nested try block - don't always return the same value - use remove() instead of set(null) for thread-local-storage - add @Override Issue-ID: POLICY-2852 Change-Id: Icc62acd4ad57afa2d44ed4cdca504a3ac0810228 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018-2020 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 Policy application code. To build it: