Goldstein Lyor created SSHD-413: ----------------------------------- Summary: 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)