diff options
author | AvinashS <avinash.s@huawei.com> | 2017-08-30 14:37:27 +0530 |
---|---|---|
committer | AvinashS <avinash.s@huawei.com> | 2017-08-30 14:37:27 +0530 |
commit | 76dc816cecf02b26b56b6fc40118fd8b9f44fd39 (patch) | |
tree | c828c956cfc5b7f6acb964e86ac851b3881afed4 /ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler | |
parent | 6fdf2fd8d754e59977bf107d60725b8394771f69 (diff) |
ONAP-PAP-REST sonar fixes
Few major and minor sonar issues fixes
under policy engine.
Change-Id: I3845ca4f050cdfada5c9e5cf2155a20974d6db37
IssueId: POLICY-174
Signed-off-by: AvinashS <avinash.s@huawei.com>
Diffstat (limited to 'ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler')
-rw-r--r-- | ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler/APIRequestHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler/APIRequestHandler.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler/APIRequestHandler.java index 117fc04e3..3b254b005 100644 --- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler/APIRequestHandler.java +++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/handler/APIRequestHandler.java @@ -54,7 +54,7 @@ public class APIRequestHandler { return; } if ("getMetrics".equalsIgnoreCase(apiflag)){ - MetricService.doGetPolicyMetrics(request, response); + MetricService.doGetPolicyMetrics(response); return; } } |