diff options
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java b/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java index e89c5c7e6a..87cb481dec 100644 --- a/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java +++ b/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java @@ -120,7 +120,7 @@ public class RequestParameters implements Serializable { public String getUserParamValue(String name){ if(userParams!=null){ for(Map<String, Object> param:userParams){ - if(param.get("name").equals(name)){ + if(param.containsKey("name") && param.get("name").equals(name) && param.containsKey("value")){ return param.get("value").toString(); } } |