[ https://issues.apache.org/jira/browse/IO-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183344#comment-16183344 ]
Stian Soiland-Reyes edited comment on IO-506 at 9/27/17 10:11 PM: ------------------------------------------------------------------ As all the methods of FileSystemUtils are now deprecated, should we not deprecate the whole class as well? was (Author: stain): As all the methods of FileSystemUtils are now deprecated, I think we should not deprecate the whole class as well? > Deprecate methods FileSystemUtils.freeSpaceKb() > ----------------------------------------------- > > Key: IO-506 > URL: https://issues.apache.org/jira/browse/IO-506 > Project: Commons IO > Issue Type: Improvement > Affects Versions: 2.5 > Reporter: Christian Schulte > Assignee: Gary Gregory > Priority: Trivial > Fix For: 2.6 > > Attachments: IO-506.patch > > > Deprecated in favour of > [java.nio.file.Filestore.getUsableSpace()|https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileStore.html#getUsableSpace()] > and > [getUnallocatedSpace|https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileStore.html#getUnallocatedSpace()] > in Java 7 and later. -- This message was sent by Atlassian JIRA (v6.4.14#64029)