On Tue, 26 Apr 2022 07:02:55 GMT, Сергей Цыпанов <[email protected]> wrote:
> - use `String.equalsIgnoreCase()` instead of hand-written code relying on
> `String.charAt()`
> - use `String.compareToIgnoreCase()` instead of hand-written code relying on
> `String.charAt()`
> - drop branches that are never executed
> - drop unused argument from `URI.resolvePath()`
> - simplify String-related operations
Note that if the current locale is Turkish, then `"I".equalsIgnoreCase("i")`
(`"\u0049".equalsIgnoreCase("\u0069")`) returns `false`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8397