Work on unchecked Optional access 93/107693/5
authorChris André <chris.andre@yoppworks.com>
Fri, 15 May 2020 12:29:29 +0000 (08:29 -0400)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Wed, 27 May 2020 06:38:04 +0000 (06:38 +0000)
commit66a5398f95f8c60a41ffa81f46ccee95beb34822
treea9691d8c6edef306a6985489dfba067f998c4f13
parent1803aa8530b53d9f22dc5815155dd3abdfd99b5a
Work on unchecked Optional access

- extract code to static methods
- throw an explicit exception now if element not found

Issue-ID: SDC-2987
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I693bb53059b056235b567ac1f9f752a33512505a
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentBusinessLogic.java