KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've updated ADT to v. 21 and new warning appeared in this code: if (e.getMessage().toLowerCase().contains("blabla")) Implicitly using the default locale is a common source of bugs: Use toLowerCase(Locale) instead So I try: if (e.getMessage().toLowerCase(Locale.ENGLISH).contains("blabla")) But error still remained! How fix this?
Tags (comma-separated)
Save Edits
Cancel