commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject [io] Make FileSystemUtils constructor private and refactor OS stuff from FileSystemUtils into OperatingSystemUtils
Date Sun, 22 Jul 2012 13:08:58 GMT
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

Kind regards,
Stevo Slavić.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message