RFR: 8274900: Too weak variable type leads to unnecessary cast in jdk.javadoc
Pavel Rappo
prappo at openjdk.java.net
Thu Oct 7 12:55:07 UTC 2021
On Wed, 22 Sep 2021 18:25:53 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:
> There are several redundant casts, caused by fact, that related declared variable has too weak type.
> We can change declaration type and remove redundant cast. It makes code more clear and easier to read.
>
> Found by IntelliJ IDEA inspection 'Too weak variable type leads to unnecessary cast'
Looks good; thanks.
-------------
Marked as reviewed by prappo (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5636
More information about the javadoc-dev
mailing list