On Thu, 9 Sep 2021 20:12:47 GMT, Andrey Turbanov <[email protected]> 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 <[email protected]> Committer: Daniel Fuchs <[email protected]> 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
