Avoid duplicated verification if package is signed 04/95904/5
authorvasraz <vasyl.razinkov@est.tech>
Thu, 5 Sep 2019 13:25:39 +0000 (14:25 +0100)
committerTomasz Golabek <tomasz.golabek@nokia.com>
Fri, 25 Oct 2019 12:17:06 +0000 (12:17 +0000)
commit4aef7c02b2b7143610cabb6238c9e426c7fcae3a
tree86756ff0081a2e726733c6d701f89d0a00b9af44
parent78f88751aa64fb72fd6321346929bd1d94f716a9
Avoid duplicated verification if package is signed

Fix potential thread leak by using try-with-resource.

Change-Id: I20eda524cd028b9dfdfa83207a059f4e1dfeff5e
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2580
openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/data/PackageArchive.java
openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/security/SecurityManager.java