Точно, потому что реализация
public boolean equalsIgnoreCase(String anotherString) {
return (this == anotherString) ? true :
(anotherString != null) && (anotherString.count == count) &&
regionMatches(true, 0, anotherString, 0, count);
}
Это хороший пример правила (условия Йоды-): «Вы должны начинать с константы, чтобы избежать разыменования нулевых указателей».