You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2016/05/24 07:51:12 UTC
[jira] [Commented] (LENS-1010) Make LensClient implement
java.lang.AutoClosable
[ https://issues.apache.org/jira/browse/LENS-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297860#comment-15297860 ]
Rajat Khandelwal commented on LENS-1010:
----------------------------------------
Taking patch from reviewboard and attaching
> 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
> 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
>
>
> 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)