Integrated: JDK-8305673: Convert DocCommentParser to use enhanced switch

Jonathan Gibbons jjg at openjdk.org
Mon Apr 17 19:07:49 UTC 2023


On Wed, 5 Apr 2023 20:56:00 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review more cleanup for DocCommentParser, primarily focused on using enhanced switch statements and expressions.
> 
> The first commit is mostly IDE-automated.
> The second commit is manual.
> 
> All change are "local".  There are two remaining switch statements using the old form that have non-trivial fall-through code, which could/should be moved out into separate methods.

This pull request has now been integrated.

Changeset: 525a91e3
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/525a91e3fac892c26b09cc1705d0909afe80c8f9
Stats:     128 lines in 1 file changed: 14 ins; 36 del; 78 mod

8305673: Convert DocCommentParser to use enhanced switch

Reviewed-by: hannesw

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

PR: https://git.openjdk.org/jdk/pull/13362


More information about the compiler-dev mailing list