On Wed, 22 Sep 2021 18:25:53 GMT, Andrey Turbanov <github.com+741251+turban...@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