mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-413) org.apache.sshd.common.Closeable should extend java.io.Closeable
Date Mon, 23 Feb 2015 08:22:11 GMT

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

Goldstein Lyor updated SSHD-413:
--------------------------------
    Attachment: 0020-SSHD-413-org.apache.sshd.common.Closeable-should-ext.patch

Attached recommended patch

> org.apache.sshd.common.Closeable should extend java.io.Closeable
> ----------------------------------------------------------------
>
>                 Key: SSHD-413
>                 URL: https://issues.apache.org/jira/browse/SSHD-413
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Goldstein Lyor
>             Fix For: 0.14.0
>
>         Attachments: 0020-SSHD-413-org.apache.sshd.common.Closeable-should-ext.patch
>
>
> The _java.io.Closeable_ is the most widely used interface for I/O related objects, and
we should implement as well wherever applicable (e.g., client/server session(s)). Furthermore,
as of JDK 7+ it is now very useful to use it in _try-with-resource_ blocks - makes the code
cleaner and easier to read.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message