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 This pull request has now been integrated. Changeset: ac549008 Author: Kartik Ohri <kartikohr...@gmail.com> URL: https://git.openjdk.java.net/jdk/commit/ac549008 Stats: 271 lines in 17 files changed: 2 ins; 124 del; 145 mod 8257401: Use switch expressions in jdk.internal.net.http and java.net.http Reviewed-by: chegar, dfuchs, pconcannon ------------- PR: https://git.openjdk.java.net/jdk/pull/1364