On Sat, 21 Nov 2020 11:45:42 GMT, Kartik Ohri <github.com+27751938+amcap1...@openjdk.org> wrote:
> Hi! > Kindly review this patch to replace switch statements with switch expressions > (where it makes sense) in the http client modules. The rationale is to > improve readability of the code. > Regards, > Kartik Just a question. Do we have clear guideline or requirement for using this new lang feature? We know there are a lot of old switch-case blocks in the existing codes, including source codes and test codes. ------------- PR: https://git.openjdk.java.net/jdk/pull/1364