summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service/src
diff options
context:
space:
mode:
authorshashikanth.vh@huawei.com <shashikanth.vh@huawei.com>2022-03-22 16:56:58 +0530
committershashikanth.vh@huawei.com <shashikanth.vh@huawei.com>2022-03-22 16:56:58 +0530
commit3fdb2cd4e76feb67afa1d7ac1ee1981a09d5932e (patch)
treea1b24f61b3df77e4b551a0419ef9352c8e29d412 /huawei/vnfmadapter/VnfmadapterService/service/src
parent8bb5e269b8e5960ede73063c386c61a1fe05d121 (diff)
update the pom version for the security issue fix
Issue-ID: VFC-1929 Signed-off-by: shashikanth.vh@huawei.com <shashikanth.vh@huawei.com> Change-Id: I36d497f95f6fd8a927103f8b46c77626fcffe922
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/RestHttpContentExchange.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/RestHttpContentExchange.java b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/RestHttpContentExchange.java
index 2f116f15..d96690b3 100644
--- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/RestHttpContentExchange.java
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/RestHttpContentExchange.java
@@ -161,7 +161,7 @@ public class RestHttpContentExchange {
final Enumeration<String> names = field.getFieldNames();
for (final Enumeration<String> e = names; e.hasMoreElements(); ) {
final String fieldName = e.nextElement();
- final String fieldValue = field.getStringField(fieldName);
+ final String fieldValue = field.getField(fieldName).getValue();
header.put(fieldName, fieldValue);
}