manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1304) ban usage of String.toUpperCase() without Locale
Date Mon, 15 Aug 2016 13:11:20 GMT


Karl Wright commented on CONNECTORS-1304:

I don't know how easy it is but it would be awesome to have that, since right now you need
to install rat by hand.

On the other hand, we really should not be putting these jars in the "lib" directory, since
those jars are in fact shipped as part of the distribution.  Users have no interest typically
in "precommit" dependencies.  Maybe a different directory would be the right place, or not
leaving it in a directory in the tree at all?

[~kamaci], what do you think?

> ban usage of String.toUpperCase() without Locale
> ------------------------------------------------
>                 Key: CONNECTORS-1304
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: SearchBlox connector
>    Affects Versions: ManifoldCF 2.4
>            Reporter: Ahmet Arslan
>            Assignee: Ahmet Arslan
>             Fix For: ManifoldCF 2.5
> When relied on the default Locale, toUpperCase() is not reliable. For example: In,
"title_boost".toUpperCase() will yield {{TÄ°TLE_BOOST}} on Turkish Locale and won't match
{{TITLE_BOOST}}. We should prevent this in a more permanent way. I would like to integrate
Uwe's [forbidden apis|] when I have time.

This message was sent by Atlassian JIRA

View raw message