↓ Skip to Main Content

PatrickJackson.dev

Main Navigation

  • Home
  • About Me

Category: Uncategorized

toLowerCase() lint warnings

By patjackson52 Posted on September 12, 2019 Posted in Uncategorized Tagged with kotlin

You may run across a lint warning in Java or Kotlin on when using String.toLowerCase(). “Implicitly using the default locale is a common source of bugs: Use toLowerCase(Locale) instead.” So we can slap a @SupressWarning on the method and be …

toLowerCase() lint warnings Read more »

Copyright © 2025 PatrickJackson.dev | Powered by Responsive Theme

Notifications