Integrated: 8285521: Minor improvements in java.net.URI
Сергей Цыпанов
duke at openjdk.org
Thu Jun 23 17:55:19 UTC 2022
On Tue, 26 Apr 2022 07:02:55 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
This pull request has now been integrated.
Changeset: 740169ce
Author: Sergey Tsypanov <sergei.tsypanov at yandex.ru>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/740169ce1cacb60f8b294220fc389bb34ef75af3
Stats: 30 lines in 1 file changed: 0 ins; 16 del; 14 mod
8285521: Minor improvements in java.net.URI
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.org/jdk/pull/8397
More information about the net-dev
mailing list