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?
public String toUpperCase() { return CaseMapper.toUpperCase(Locale.getDefault(), this, count); }
– mc.dev Feb 25 '16 at 17:41