RFR: JDK-8257401: Use switch expressions in jdk.internal.net.http and java.net.http [v5]

Daniel Fuchs dfuchs at openjdk.java.net
Wed Dec 2 16:39:58 UTC 2020


On Wed, 2 Dec 2020 16:34:17 GMT, Kartik Ohri <github.com+27751938+amCap1712 at 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
>
> Kartik Ohri has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Align -> and remove trailing whitespace

Marked as reviewed by dfuchs (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/1364



More information about the security-dev mailing list