[
https://issues.apache.org/jira/browse/CONNECTORS-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420997#comment-15420997
]
Karl Wright commented on CONNECTORS-1304:
-----------------------------------------
Unfortunately I simply *cannot* get the forbidden APIs ant target to find any
files to check. The jars are in the correct places, and my filesets refer to
them fine, but even when I explicitly list them it doesn't find anything to
check.
Since I'm trying to get an RC out today, I'm seriously thinking of removing the
target and planning to put it in for the next release.
> ban usage of String.toUpperCase() without Locale
> ------------------------------------------------
>
> Key: CONNECTORS-1304
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1304
> 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 SearchBloxConnector.java, "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|https://github.com/policeman-tools/forbidden-apis] when I
> have time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)