Change "try" to try-with-resources 11/14611/2
authorsurya-huawei <a.u.surya@huawei.com>
Fri, 22 Sep 2017 13:44:49 +0000 (19:14 +0530)
committerSURYA A U <a.u.surya@huawei.com>
Mon, 25 Sep 2017 08:27:59 +0000 (08:27 +0000)
commite8058c88413de8e648a4c85385b1ec798d31c888
tree6834f152ada856ac0946c0a76282532a8d1b73f3
parent15cfb74776aafab9319a859f8b7cce9de23df209
Change "try" to try-with-resources

One major issue in sdnc/northbound module
*This is done for a guaranteed closing of resource
and avoiding the finally block

Issue-Id: CCSDK-87
Change-Id: I3ab9119f0b10f47d16864aa3619cc54e069bb9de
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfSdnUtil.java