From 5a6f832522b3651ab88749c2dd8f80b5795f568a Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 9 Jan 2019 18:12:59 +0530 Subject: Sonar fix: UpdateRequest.java Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-922 Change-Id: I8c51fe961b9e007e44253c1c14850a0f79ea4f1e Signed-off-by: Arundathi Patil --- .../src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'aai-service') diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java index 789c1316..8ecc0b3e 100755 --- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java +++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java @@ -4,6 +4,7 @@ * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights * reserved. + * Modifications Copyright (C) 2018 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,7 +84,7 @@ public class UpdateRequest extends AAIRequest { request.requestProperties.put(key, value); } - public static String processPathData(String request_url, Properties requestProperties) throws UnsupportedEncodingException { + public static String processPathData(String requestUrl, Properties requestProperties) { // if(request != null) { // Class clazz = request.getClass(); @@ -97,7 +98,7 @@ public class UpdateRequest extends AAIRequest { // } // request.processPathData(request_url, requestProperties); - return request_url; + return requestUrl; } public void processRequestPathValues(Map nameValues) { -- cgit 1.2.3-korg