summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2017-10-24 15:38:34 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-24 15:38:34 +0000
commite211e63edef1b88d8f7da53f3d1f0d5fb26d1555 (patch)
treece28451fe30f0470880755e37a05c23de5ed8ac7
parentf1f96ceb6b69df04243810ba507fb43798e5dab8 (diff)
parent707c053d180230d8c597cdc3b4bcde638b6bd9da (diff)
Merge "Submit"
-rw-r--r--openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java
index ccadeced62..e871ecfe13 100644
--- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java
+++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java
@@ -26,6 +26,7 @@ import org.openecomp.sdc.versioning.dao.types.Version;
import org.openecomp.sdc.versioning.dao.types.VersionableEntity;
import java.util.List;
+import java.util.Objects;
public class VspDetails implements VersionableEntity {
@@ -225,7 +226,8 @@ public class VspDetails implements VersionableEntity {
}
public void setOnboardingOrigin(String onboardingOrigin) {
- this.onboardingOrigin = onboardingOrigin;
+ this.onboardingOrigin = Objects.isNull(onboardingOrigin) ? null
+ : onboardingOrigin.toLowerCase();
}
public String getOnboardingMethod() {