I guess I'll hold off on commiting this for the time being - Stephen C. asked (on Jira ticket LANG-316) whether we should have a CaseInsenstiveStringUtils - and Stephen K's is also a good point (Collators were news to me).
Niall On 4/17/07, Stephen Kestle <[EMAIL PROTECTED]> wrote:
Yeah - ascii still does scale in some cases. However, I imagine String.equalsIgnoreCase() is an exercise in legacy code conversion as well as speed. By all means, add ignoreCase for the shops that don't need/know better, but just make sure that Collator/Comparator use is an option, and is encouraged in the javadoc. I'm not sure how to raise a ticket for this, as it probably spans quite a few classes... Henri Yandell wrote: > Stephen Kestle had this view of case insensitivity: > > http://issues.apache.org/jira/browse/LANG-316 > > Given that I've a strong interest in multiple locales etc, I > definitely see Stephen's point, but your example shows a good reason > why the low ASCII chars do scale - domain names (at least until it all > gets complicated at some unknown point in the future). > > Make them @since 3.0 (given that's what it is in JIRA). We can change > that later if need be. > > Hen > > On 4/15/07, Niall Pemberton <[EMAIL PROTECTED]> wrote: >> I posted a patch for StringUtils to add a number of new methods to the >> following Jira ticket: >> >> http://issues.apache.org/jira/browse/LANG-326 >> >> Any objections to me committing this? >> >> Niall >>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]