Use switch expressions and multiple labels switch case statements in jdk.javadoc

Kartik Ohri kartikohri13 at gmail.com
Mon Jan 11 10:04:02 UTC 2021


Hi!
I propose to use switch expressions and multiple case label switch
statements in the jdk.javadoc module with the intent to improve the
readability of the code and make it more concise.

I have opened a PR for the same at https://github.com/openjdk/jdk/pull/2023.
Kindly take a look and let me know what you think. If it makes sense to
include the patch in the JDK, can someone open a bug ticket for the same as
well.
Thanks.
Regards,
Kartik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20210111/e9d2c219/attachment.htm>


More information about the javadoc-dev mailing list