summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src/main
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-09 16:23:38 +0530
committerSandeep Jha <sandeejh@in.ibm.com>2019-01-09 11:50:57 +0000
commitebced30cbe34d48d80b122a7f3c635eb53f0d921 (patch)
treed11568cfdf646342bdf82572000a130690456d09 /aai-service/provider/src/main
parent75da5d3681c44326e4766ce9e3a110f11ee108d4 (diff)
fixed sonar issue in GenericRequest.java
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ice555ba2ca3ae91fd8c745d512d7615f214ffe09 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'aai-service/provider/src/main')
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericRequest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericRequest.java
index 7987aefc..45824846 100755
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericRequest.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericRequest.java
@@ -5,6 +5,8 @@
* 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.
* You may obtain a copy of the License at
@@ -18,7 +20,7 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
-
+
package org.onap.ccsdk.sli.adaptors.aai;
import java.io.UnsupportedEncodingException;
@@ -70,7 +72,7 @@ public class GenericRequest extends AAIRequest {
String request_url = getRequestPath(resourceName);
- Map<String, String> queryParams = new HashMap<String, String> ();
+ Map<String, String> queryParams = new HashMap<> ();
if(resourceVersion != null) {
queryParams.put("resource-version", resourceVersion.toString());
}