deprecate com.intellij.openapi.util.text.StringUtil#firstLetterToUpperCase

This commit is contained in:
Yann Cébron
2012-07-03 16:03:40 +02:00
parent f0de4426d9
commit 84192a368b
@@ -1331,6 +1331,9 @@ public class StringUtil extends StringUtilRt {
return value.indexOf(ch) >= 0;
}
/**
* @deprecated use #capitalize(String)
*/
@Nullable
public static String firstLetterToUpperCase(@Nullable final String displayString) {
if (displayString == null || displayString.isEmpty()) return displayString;