<i18n dev> Integrated: 8274835: Remove unnecessary castings in java.base

Andrey Turbanov duke at openjdk.java.net
Fri Nov 12 16:33:36 UTC 2021


On Thu, 9 Sep 2021 20:12:47 GMT, Andrey Turbanov <duke at openjdk.java.net> wrote:

> Redundant castings make code harder to read.
> Found them by IntelliJ IDEA.
> I tried to select only casts which are definitely safe to remove. Also didn't touch primitive types casts.

This pull request has now been integrated.

Changeset: 5a2452c8
Author:    Andrey Turbanov <turbanoff at gmail.com>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5a2452c80e64b8b7a1799caa1a8a6e9e6a7dab6d
Stats:     36 lines in 15 files changed: 1 ins; 4 del; 31 mod

8274835: Remove unnecessary castings in java.base

Reviewed-by: mullan, naoto, lancea, bpb

-------------

PR: https://git.openjdk.java.net/jdk/pull/5454


More information about the i18n-dev mailing list