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