Sonar fix: UpdateRequest.java 57/75557/1
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 9 Jan 2019 12:42:59 +0000 (18:12 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Wed, 9 Jan 2019 12:43:12 +0000 (18:13 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-922
Change-Id: I8c51fe961b9e007e44253c1c14850a0f79ea4f1e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/UpdateRequest.java

index 789c131..8ecc0b3 100755 (executable)
@@ -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) {