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:44:12 UTC

[jira] [Updated] (LENS-1010) Make LensClient implement java.lang.AutoClosable

     [ https://issues.apache.org/jira/browse/LENS-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajat Khandelwal updated LENS-1010:
-----------------------------------
    Summary: Make LensClient implement java.lang.AutoClosable   (was: Make LensClient implement java.lang.Closable )

> 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
>
>
> 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)