Integrated: JDK-8257401: Use switch expressions in jdk.internal.net.http and java.net.http
    Kartik Ohri 
    github.com+27751938+amcap1712 at openjdk.java.net
       
    Fri Dec  4 15:20:15 UTC 2020
    
    
  
On Sat, 21 Nov 2020 11:45:42 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
This pull request has now been integrated.
Changeset: ac549008
Author:    Kartik Ohri <kartikohri13 at 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
    
    
More information about the net-dev
mailing list