(char ch)
| 570 | |
| 571 | // Optimized for ASCII |
| 572 | private char toUpperCase(char ch) { |
| 573 | if (ch < 128) { |
| 574 | if ('a' <= ch && ch <= 'z') { |
| 575 | return (char) (ch - ('a' - 'A')); |
| 576 | } |
| 577 | return ch; |
| 578 | } |
| 579 | return Character.toUpperCase(ch); |
| 580 | } |
| 581 | |
| 582 | /** |
| 583 | * Compares the specified string to this string using the Unicode values of |
no test coverage detected