prevent static analyzer warning
Issue-ID: SO-1841
Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com>
Change-Id: Ib9dbd55f3688e38688668828778653eadc04a836
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()))