This is an enhancement request and not an issue per se.
The goal is to make resource management easier.
Writing e.g. the following should be possible:
try (SFTPv3Client client = new SFTPv3Client(new Connection("localhost"))) {
}
AutoClosable should also be implemented by classes such as SFTPv3FileHandle.
http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html
http://www.oracle.com/technetwork/articles/java/trywithresources-401775.html
Original issue reported on code.google.com by refsdal....@gmail.com on 12 Apr 2014 at 4:02
Original issue reported on code.google.com by
refsdal....@gmail.com
on 12 Apr 2014 at 4:02