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

Gary D. Gregory updated IO-463:
-------------------------------
    Fix Version/s: 2.16.1

> FileSystemUtils#freeSpace can be simplified by using new Java 6 File methods
> ----------------------------------------------------------------------------
>
>                 Key: IO-463
>                 URL: https://issues.apache.org/jira/browse/IO-463
>             Project: Commons IO
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Major
>             Fix For: 2.16.1
>
>
> Commons IO now requires Java 1.6, which has some useful new File methods:
> File.getFreeSpace() / getUsableSpace()
> These could be used to radically simplify (and speed up) the FileSystemUtils 
> freeSpace methods, as well as making it OS-independent.
> The methods should be deprecated in favour of directly calling the File 
> methods directly. Perhaps even deprecate the entire class?  - it only 
> contains the freeSpace methods currently.
> Note: a lot of the tests will becorme redundant or need reworking.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to