Change "try" to try-with-resources 19/14119/1
authorsurya-huawei <a.u.surya@huawei.com>
Thu, 21 Sep 2017 06:13:59 +0000 (11:43 +0530)
committersurya-huawei <a.u.surya@huawei.com>
Thu, 21 Sep 2017 06:17:59 +0000 (11:47 +0530)
commitfe6c174b98f888d214c7a7f9a87957592a04ec6f
treef3d2da66828ad29a232e747487ed82260558e981
parent046922b6bd05cfcc4759985368a858f0a7b25cd9
Change "try" to try-with-resources

One major issue in sdnc/northbound module
*This is done for a guaranteed closing of resource
and not worrying about finally block to close it

Issue-Id: CCSDK-87
Change-Id: Ic6ea871cb9fb61cbce24b61d7c434d3404570ae7
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java