Use try-with-resource to close filestream 83/18483/1
authorsurya-huawei <a.u.surya@huawei.com>
Thu, 12 Oct 2017 08:56:36 +0000 (14:26 +0530)
committersurya-huawei <a.u.surya@huawei.com>
Thu, 12 Oct 2017 08:58:05 +0000 (14:28 +0530)
commit6bfed112851ac9d7d30fe942183a633ec9718d46
tree61b8e5a595547de0328426e46a75b87b3cc6e687
parent63bd422e64eb8c90167ef43bce9ef17d68dc45f3
Use try-with-resource to close filestream

*Using try-with-resource here makes sure that the resource is
automatically closed and increases code readability

Issue-Id: CCSDK-117
Change-Id: Ie923e4540d5be90324104593a1d5fcb1bd501f5c
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
vnftools/provider/src/main/java/org/onap/sdnc/vnftools/VnfTools.java