summaryrefslogtreecommitdiffstats
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java b/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java
index 60443e20..708f8edb 100644
--- a/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java
+++ b/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java
@@ -243,10 +243,10 @@ public class OnapHttpCommand extends OnapCommand {
}
//pre-process result map for spl entries and input parameters
- for (Entry<String, String> resultMap : this.getResultMap().entrySet()) {
- String value = OnapCommandUtils.replaceLineForSpecialValues(resultMap.getValue());
+ for (Entry<String, String> resultMapEntry : this.getResultMap().entrySet()) {
+ String value = OnapCommandUtils.replaceLineForSpecialValues(resultMapEntry.getValue());
value = OnapCommandUtils.replaceLineFromInputParameters(value, this.getParametersMap());
- this.resultMap.put(resultMap.getKey(), value);
+ this.resultMap.put(resultMapEntry.getKey(), value);
}
Map<String, ArrayList<String>> results = OnapCommandHttpUtils.populateOutputs(this.getResultMap(), output);