question: private void testEqualsIgnoreCase ( Locale locale ) { Locale defaultLocale = Locale . getDefault ( ) ; Locale . setDefault ( locale ) ; try { for ( String a : LATIN_I_VARIANTS ) { for ( String b : LATIN_I_VARIANTS ) { if ( ! a . equalsIgnoreCase ( b ) ) { fail ( "Expected " + a + " to equal " + b + " in " + locale ) ; } } } } finally { Locale . setDefault ( defaultLocale ) ; } }
target:  String.equalsIgnoreCase should not depend on the locale.