Sonar xacml-pdp issues 62/95762/3
authorPamela Dragosh <pdragosh@research.att.com>
Mon, 16 Sep 2019 17:09:46 +0000 (13:09 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Wed, 9 Oct 2019 16:08:59 +0000 (12:08 -0400)
commitc19f81387f4efc666cfa45b000275f3ee7c1d9d1
tree0c6ffe39a15e95f01d40e5a7214bc0d5a9bfa232
parent6f145256b9d9ac6c0e0b6073afb5d1fa178a84a4
Sonar xacml-pdp issues

Either log or re-throw exception
Refactor to not nest more than 3 statements
Refactor to throw at most one exception
Move variable to comply with Java Code conventions
String literal on LHS

Issue-ID: POLICY-2079
Change-Id: Iac33623ef4694cf38c4a69c8f0b9040d8439998e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/OnapPolicyFinderFactory.java
applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdMatchablePolicyRequest.java
applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdMatchableTranslator.java
applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/std/StdMatchablePolicyRequestTest.java
main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpRestController.java
xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java