(String word)
| 227 | |
| 228 | |
| 229 | private static String firstCharOnlyToUpper(String word) { |
| 230 | return (word.isEmpty()) |
| 231 | ? word |
| 232 | : new StringBuilder(word.length()).append(Ascii.toUpperCase(word.charAt(0))).append(Ascii.toLowerCase(word.substring(1))).toString(); |
| 233 | } |
| 234 | } |
no test coverage detected