diff options
author | Dan Timoney <dtimoney@att.com> | 2019-01-30 15:00:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-30 15:00:31 +0000 |
commit | b1eeb29ccf499cca10703eeae923954cdaf7daff (patch) | |
tree | 4e757c61075f96a49568d905b0d8ed9c198244e6 /aai-service/provider/src/main | |
parent | 8dc35575ec680c76e721301d74f8e546dd77521e (diff) | |
parent | ebced30cbe34d48d80b122a7f3c635eb53f0d921 (diff) |
Merge "fixed sonar issue in GenericRequest.java"
Diffstat (limited to 'aai-service/provider/src/main')
-rwxr-xr-x | aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericRequest.java | 6 |
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 7987aefc2..458248462 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()); } |