RFR: JDK-8305673: Convert DocCommentParser to use enhanced switch [v3]
Jonathan Gibbons
jjg at openjdk.org
Tue Apr 11 21:09:27 UTC 2023
> 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.
Jonathan Gibbons has updated the pull request incrementally with one additional commit since the last revision:
revert conflicting change
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13362/files
- new: https://git.openjdk.org/jdk/pull/13362/files/3f2c558a..9c0a1745
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13362&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13362&range=01-02
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/13362.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13362/head:pull/13362
PR: https://git.openjdk.org/jdk/pull/13362
More information about the compiler-dev
mailing list