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
------------- Commit messages: - Use switch expressions in jdk.internal.net.http and java.net.http Changes: https://git.openjdk.java.net/jdk/pull/1364/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8257401 Stats: 270 lines in 17 files changed: 1 ins; 137 del; 132 mod Patch: https://git.openjdk.java.net/jdk/pull/1364.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1364/head:pull/1364 PR: https://git.openjdk.java.net/jdk/pull/1364