On Wed, 22 Sep 2021 18:25:53 GMT, Andrey Turbanov 
<[email protected]> 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'

This pull request has now been integrated.

Changeset: 9c431dd1
Author:    Andrey Turbanov <[email protected]>
Committer: Pavel Rappo <[email protected]>
URL:       
https://git.openjdk.java.net/jdk/commit/9c431dd168c8a752d4aa1bde2268db0425d76990
Stats:     15 lines in 3 files changed: 0 ins; 2 del; 13 mod

8274900: Too weak variable type leads to unnecessary cast in jdk.javadoc

Reviewed-by: prappo

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

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

Reply via email to