title: Why does Android Lint warn about String.format using default locale when explicitly using Locale.US?
body: <p>I originally called <code>String.format</code> this way:</p>
  
  <pre><code>return String.format("%s %f %f", anotherString, doubleA, doubleB);
  </code></pre>
  
  <p>Which made Android Lint generate this warning:</p>
  
  <blockquote>
    <p>Implicitly using the default locale is a common source of bugs: Use String.format(Locale, ...) instead</p>
  </blockquote>
  
  <p>So I changed it to use <code>Locale.US</code> explicitly, based on what I read at <a href="http://developer.android.com/reference/java/util/Locale.html">http://developer.android.com/reference/java/util/Locale.html</a> under the "Be wary of the default locale" section:</p>
  
  <pre><code>return String.format(Locale.US, "%s %f %f", anotherString, doubleA, doubleB);
  </code></pre>
  
  <p>Why does Android Lint still generate the same warning? I have to clean the project in Eclipse to get rid of it, when most warnings just disappear as soon as the offending line is fixed. I'm not sure if I'm doing something wrong or not.</p>