equalsIgnoreCase changed from compareTo