diff options
author | surya-huawei <a.u.surya@huawei.com> | 2017-09-26 16:12:10 +0530 |
---|---|---|
committer | surya-huawei <a.u.surya@huawei.com> | 2017-09-26 16:17:39 +0530 |
commit | b66f9aae658bdb099cef166ba97acd923b87648c (patch) | |
tree | 240fc2eaa3fa39a17710498f95534034e1d968f4 /doc | |
parent | 00f6a9c613096e3d4623b8e8486992be727d92da (diff) |
Use try-with-resources
*Replace try with try-with-resources
This is done to close resources automatically
and not worry about finally block
*Replace explicit type info with diamond operator
This is done to reduce verbosity of generics code
Issue-Id: SO-118
Change-Id: I948ffd26bfe6022496ca4a272de2619aef0dbd88
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions