RFR: 8285521: Minor improvements in java.net.URI [v2]
Daniel Fuchs
dfuchs at openjdk.org
Tue Jun 21 11:37:51 UTC 2022
On Fri, 20 May 2022 08:25:02 GMT, Сергей Цыпанов <duke at openjdk.org> 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
>
> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
>
> 8285521: Revert wrong changes
This last versions looks more reasonable. I believe it's good to go.
-------------
Marked as reviewed by dfuchs (Reviewer).
PR: https://git.openjdk.org/jdk/pull/8397
More information about the net-dev
mailing list