On Thu, 5 May 2022 00:18:56 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

> Please review some cleanup updates to address issues reported by an IDE.
> 
> The seeds for the change were a series of redundant casts, that have now all 
> been removed.  Various other warnings and suggestions were made by the IDE 
> for the affected files. There were a number of places with redundant type 
> arguments, for which the general fix was in favor of using `var` instead of 
> `<>`.
> 
> Some `switch` statements were converted to the enhanced `switch` form, which 
> also revealed a couple of places where `RECORD` should have been added 
> alongside `ENUM`.

This pull request has now been integrated.

Changeset: 9425ab2b
Author:    Jonathan Gibbons <j...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/9425ab2b43b649bd591706bfc820e9c8795a6fdf
Stats:     197 lines in 8 files changed: 7 ins; 55 del; 135 mod

8286153: Remove redundant casts and other cleanup

Reviewed-by: prappo

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

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

Reply via email to