()
| 254 | } |
| 255 | |
| 256 | public String toLowerCase() { |
| 257 | for (int j = 0; j < length; ++j) { |
| 258 | char ch = charAt(j); |
| 259 | if (Character.toLowerCase(ch) != ch) { |
| 260 | char[] b = new char[length]; |
| 261 | for (int i = 0; i < length; ++i) { |
| 262 | b[i] = Character.toLowerCase(charAt(i)); |
| 263 | } |
| 264 | return new String(b, 0, length, false); |
| 265 | } |
| 266 | } |
| 267 | return this; |
| 268 | } |
| 269 | |
| 270 | public String toUpperCase() { |
| 271 | for (int j = 0; j < length; ++j) { |
nothing calls this directly
no test coverage detected