On Wed, 19 Jun 2002, Steve Loughran <[EMAIL PROTECTED]> wrote:

> ...any reason why both tests dont just use equalsIgnoreCase?

I've been the one who has written the comment about the US locale -
and this would be my point against equalsIgnoreCase, it doesn't
support locale settings.

We ran into problems with the Turkish locale and learned that
"i".toUpperCase() is not "I" - likewise the equalsIgnoreCase will
probably return false here as well.

As to why the code doesn't use it right now, I don't know.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to