diff options
author | Jim Hahn <jrh3@att.com> | 2020-09-30 12:52:25 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-09-30 14:59:39 -0400 |
commit | fb9bd637567096f6174bbc2e52a5e149a4eed882 (patch) | |
tree | 7b0d2df1aefbb3635788af501be1157fbe05d798 /controlloop/common/controller-tdjam/pom.xml | |
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>
Diffstat (limited to 'controlloop/common/controller-tdjam/pom.xml')
-rw-r--r-- | controlloop/common/controller-tdjam/pom.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/controlloop/common/controller-tdjam/pom.xml b/controlloop/common/controller-tdjam/pom.xml index bee07cb2b..af882e3ed 100644 --- a/controlloop/common/controller-tdjam/pom.xml +++ b/controlloop/common/controller-tdjam/pom.xml @@ -168,7 +168,6 @@ <artifactId>policy-management</artifactId> <version>${version.policy.drools-pdp}</version> <scope>provided</scope> - <!-- <optional>true</optional> --> </dependency> <dependency> <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |