summaryrefslogtreecommitdiffstats
path: root/aai-service/provider
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-27 07:46:26 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-27 07:46:26 +0000
commitf70df11736442059b5aa28590cbf4885a3fb82a1 (patch)
tree5971bc88e64952cc2c77c6f031e05d91960a8547 /aai-service/provider
parentee41286feaa2d295045dba92a6353f451c315dc0 (diff)
parentbc5d38269f75683e459d1728352380919b4446a9 (diff)
Merge "Use Map's entrySet instead of keySet"
Diffstat (limited to 'aai-service/provider')
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java
index 447da3f2..f1663d2d 100755
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java
@@ -1580,8 +1580,8 @@ public abstract class AAIDeclarations implements AAIClient {
j++;
}
AAIRequest rlRequest = AAIRequest.createRequest(relatedTo, relParams);
- for(String key : relParams.keySet()) {
- rlRequest.addRequestProperty(key, relParams.get(key));
+ for(Map.Entry<String,String> entry : relParams.entrySet()) {
+ rlRequest.addRequestProperty(entry.getKey(), entry.getValue());
}
String path = rlRequest.updatePathDataValues(null);
relationship.setRelatedLink(path);