You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/05/26 13:41:17 UTC
[jira] [Work stopped] (SSHD-472) Create a Closeable SFTP Handle
[ https://issues.apache.org/jira/browse/SSHD-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SSHD-472 stopped by Goldstein Lyor.
-------------------------------------------
> Create a Closeable SFTP Handle
> ------------------------------
>
> Key: SSHD-472
> URL: https://issues.apache.org/jira/browse/SSHD-472
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Priority: Minor
> Fix For: 1.0.0
>
>
> Add a _CloseableHandle extends Handle implements java.io.Closeable_ definition and define _SftpClient#open/openDir_ to return it instead of the usual _Handle_. This way, they can be used in _try-with-resource_ blocks, while preserving backward compatibility with existing _Handle_ usage code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)