void () { String plain = "123"; @NonNls String nonNls = "123"; plain.<warning descr="'String.toUpperCase()' called without specifying a Locale using internationalized strings">toUpperCase</warning>(); nonNls.toUpperCase(); plain.concat("1".<warning descr="'String.toUpperCase()' called without specifying a Locale using internationalized strings">toUpperCase</warning>()); nonNls.concat("1".toUpperCase()); @NonNls String s = "123".toUpperCase(); s.toLowerCase(); String ss = "123".<warning descr="'String.toUpperCase()' called without specifying a Locale using internationalized strings">toUpperCase</warning>(); ss.<warning descr="'String.toLowerCase()' called without specifying a Locale using internationalized strings">toLowerCase</warning>(); }