diff options
author | Oleksandr Moliavko <o.moliavko@samsung.com> | 2019-08-02 15:26:05 +0300 |
---|---|---|
committer | Oleksandr Moliavko <o.moliavko@samsung.com> | 2019-08-02 15:26:05 +0300 |
commit | e376391db8a1f2857e41a4fe266801fb715438c9 (patch) | |
tree | 67c5e02da337c148a25c4396a15e728827dad836 | |
parent | 8b02fbc54e6db36d969b233d136f90b8d6615f80 (diff) |
Removed addition of null value to string to
prevent static analyzer warning
Issue-ID: SO-1841
Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com>
Change-Id: Ib9dbd55f3688e38688668828778653eadc04a836
-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())) |