diff options
author | Dan Timoney <dtimoney@att.com> | 2017-09-27 07:46:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-27 07:46:26 +0000 |
commit | f70df11736442059b5aa28590cbf4885a3fb82a1 (patch) | |
tree | 5971bc88e64952cc2c77c6f031e05d91960a8547 /aai-service/provider/src | |
parent | ee41286feaa2d295045dba92a6353f451c315dc0 (diff) | |
parent | bc5d38269f75683e459d1728352380919b4446a9 (diff) |
Merge "Use Map's entrySet instead of keySet"
Diffstat (limited to 'aai-service/provider/src')
-rwxr-xr-x | aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java | 4 |
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 447da3f25..f1663d2d5 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); |