RFR: 8274835: Remove unnecessary castings in java.base
Brian Burkhalter
bpb at openjdk.java.net
Wed Oct 6 21:08:12 UTC 2021
On Thu, 9 Sep 2021 20:12:47 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> 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.
`java.io` change looks all right.
-------------
Marked as reviewed by bpb (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5454
More information about the core-libs-dev
mailing list