title: Android Lint - Ignoring noinspection AndroidLintDefaultLocale
body: <p>In a portion of my code I need to force a string to be lowercase - this String comes from a constant, and as such will always be English.</p>
  <pre><code>String table = DirectoryTableModule.DirectoryContract.TABLE_NAME.toLowerCase();
  </code></pre>
  <p>This of course trips a lint warning for:</p>
  <blockquote>
  <p>Implicitly using the default locale is a common source of bugs: Use <code>toLowerCase(Locale)</code> instead</p>
  <p>Calling <code>String#toLowerCase()</code> or <code>#toUpperCase()</code> <em>without specifying an explicit locale</em> is a common source of bugs. The reason for that is that those methods will use the current locale on the user's device, and even though the code appears to work correctly when you are developing the app, it will fail in some locales. For example, in the Turkish locale, the uppercase replacement for <code>i</code> is <em>not</em> <code>I</code>. If you want the methods to just perform ASCII replacement, for example to convert an enum name, call <code>String#toUpperCase(Locale.US)</code> instead. If you really want to use the current locale, call <code>String#toUpperCase(Locale.getDefault())</code> instead.</p>
  </blockquote>
  <p>So naturally I added the appropriate ignore comment above this line of code:</p>
  <pre><code>//noinspection AndroidLintDefaultLocale
  String table = DirectoryTableModule.DirectoryContract.TABLE_NAME.toLowerCase();
  </code></pre>
  <p>This seems to satisfy the IDE (Android Studio 1.2.1.1), but lint running on our CI server (Jenkins) still shows this as a warning.</p>
  <p>If it helps, Jenkins shows it has version 24.3 of the lint binary that comes with the Android SDK.</p>
  <p>How do I get lint running on the CI server to accept this noinspection comment?</p>