commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject [compress] equalsIgnoreCase in Factories (was Re: New release soon?)
Date Fri, 12 Feb 2010 14:49:22 GMT
On 2010-02-12, Torsten Curdt <tcurdt@apache.org> wrote:

> I also wanted to get Compressor detection in ...and just committed that :)

Saw that.  While looking through the patch I realized we are using
equalsIgnoreCase in the factories which is not such a good idea since
this is locale dependent and the Turkish lowercase of "ZIP" is not
"zip".  I'll change that to locale insensitive comparisons - actually
comparisons using the English locale soon.

Stefan

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


Mime
View raw message