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.

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

Commit messages:
 - convert additional switch statements
 - JDK-8305673: Convert DocCommentParser to use enhanced switch

Changes: https://git.openjdk.org/jdk/pull/13362/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13362&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305673
  Stats: 129 lines in 1 file changed: 14 ins; 37 del; 78 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

Reply via email to