[
https://issues.apache.org/jira/browse/LENS-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298146#comment-15298146
]
Rajat Khandelwal commented on LENS-1010:
----------------------------------------
Committed myself.
> Make LensClient implement java.lang.AutoClosable
> -------------------------------------------------
>
> Key: LENS-1010
> URL: https://issues.apache.org/jira/browse/LENS-1010
> Project: Apache Lens
> Issue Type: Improvement
> Reporter: Rajat Khandelwal
> Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1010.05.patch, LENS-1010.06.patch,
> LENS-1010.07.patch, LENS-1010.07.patch, LENS-1010.08.patch,
> LENS-1010.09.patch, LENS-1010.10.patch
>
>
> This would allow users to use lens client in try-with-resources clause
> without worrying about closing manually.
> https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)