git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [jira] [Commented] (IO-579) FilenameUtils.isExtension() is case-sensitive


On Tue, Jun 12, 2018 at 4:25 AM Jochen Wiedmann <jochen.wiedmann@xxxxxxxxx>
wrote:

> On Fri, Jun 8, 2018 at 5:07 PM Gary Gregory (JIRA) <jira@xxxxxxxxxx>
> wrote:
>
> > Case-sensitivity for file names depends on the file system. The Javadoc
> for this method specifies "The extension check is case-sensitive on all
> platforms." There is nothing to fix in this API IMO.
>
> To me, this sounds like a strong indicator, that we should overhaul IO
> in the following direction: Remove static methods in favour of a few
> FileSystem objects (Windows, and Linux/Unix/Mac) with different
> behaviour for case sensitivity, separators, and so on.
>

A big +1 from me.

Gary


>
> IO is outdated, as it is. Beginners (like this guy, perhaps) are
> unable to cope with it. Advanced users find it useless.
>
> Jochen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx
>
>


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-commons-developers/msg06555.html on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0008363704{main}( ).../msg06555.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-commons-developers/msg06555.html on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0008363704{main}( ).../msg06555.html:0