[ https://issues.apache.org/jira/browse/SSHD-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Goldstein Lyor updated SSHD-413: -------------------------------- Description: 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. (was: 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.) > 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 > > > 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)