(String word)
| 221 | } |
| 222 | |
| 223 | private static String firstCharOnlyToUpper(String word) { |
| 224 | return (word.isEmpty()) |
| 225 | ? word |
| 226 | : new StringBuilder(word.length()).append(Ascii.toUpperCase(word.charAt(0))).append(Ascii.toLowerCase(word.substring(1))).toString(); |
| 227 | } |
| 228 | } |
no test coverage detected