summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-01-09 18:12:59 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-01-09 18:13:12 +0530
commit5a6f832522b3651ab88749c2dd8f80b5795f568a (patch)
tree6ba8f9483942805388bbe8b88962746171d0aacb
parent75da5d3681c44326e4766ce9e3a110f11ee108d4 (diff)
Sonar fix: UpdateRequest.java
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-922 Change-Id: I8c51fe961b9e007e44253c1c14850a0f79ea4f1e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java5
1 files changed, 3 insertions, 2 deletions
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<String, String> nameValues) {