diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2019-08-05 05:13:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-05 05:13:36 +0000 |
commit | e44fee30ac2abded56a37bfe8e312d880ef8db53 (patch) | |
tree | 04abafdc1259dd3231f4cd0d890eb215d438584d | |
parent | 058deb47d8edba65fdef6b5834fbf79ff9989e79 (diff) | |
parent | e376391db8a1f2857e41a4fe266801fb715438c9 (diff) |
Merge "Removed addition of null value to string to prevent static analyzer warning"
-rw-r--r-- | mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java index 30801119b6..a18f870970 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java @@ -856,8 +856,7 @@ public class CatalogDbClient { protected CvnfcCustomization findCvnfcCustomizationInAList(String cvnfcCustomizationUuid, List<CvnfcCustomization> cvnfcCustomList) { if (cvnfcCustomizationUuid == null) { - throw new EntityNotFoundException( - "a NULL UUID was provided in query to search for CvnfcCustomization" + cvnfcCustomizationUuid); + throw new EntityNotFoundException("a NULL UUID was provided in query to search for CvnfcCustomization"); } List<CvnfcCustomization> filtered = cvnfcCustomList.stream().filter(c -> c.getModelCustomizationUUID() != null) .filter(cvnfc -> cvnfcCustomizationUuid.equals(cvnfc.getModelCustomizationUUID())) |