[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>

> 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.


> 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