Fixed fortify scan Locale changes are reappearing
<p>I have one J2EE application and for that application, fortify scan shows Locale dependent issues.</p>

<p>I have fixed those issues where using Locale.ENGLISH in toUpperCase(Locale.ENGLISH) and toLowerCase(Locale.ENGLISH) functions while comparing the Strings,
Earlier,</p>

<pre><code>firstName.trim().toLowerCase();
</code></pre>

<p>Now</p>

<pre><code>firstName.trim().toLowerCase(Locale.ENGLISH);
</code></pre>

<p>and I again run fortify scan on the application. However, second time, fortify scan shows Locale error at same place.</p>

<p>How can I fix these kind of issues?</p>