commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [io] Make FileSystemUtils constructor private and refactor OS stuff from FileSystemUtils into OperatingSystemUtils
Date Sun, 22 Jul 2012 13:30:57 GMT
On 22 July 2012 14:08, Stevo Slavić <sslavic@gmail.com> wrote:
> Hello Apache Commons community,
>
> Is there any special reason for FileSystemUtils constructor to be public?
> Shouldn't it be private instead?
>
> What do you think about refactoring FileSystemUtils, to move OS stuff into
> separate OperatingSystemUtils class exposing isWindows, isUnix,
> isPosixUnix, isSolaris, isMac, getOs API?
>
> Here's the link to current FileSystemUtils revision:
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?revision=1304052&view=markup

Sounds like this will break binary and/or source compatibiliy.

> Kind regards,
> Stevo Slavić.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message