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

Kartik Ohri github.com+27751938+amcap1712 at openjdk.java.net
Wed Dec 2 16:34:17 UTC 2020


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1364/files
  - new: https://git.openjdk.java.net/jdk/pull/1364/files/3e667427..e73ab02b

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=03-04

  Stats: 50 lines in 13 files changed: 0 ins; 0 del; 50 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



More information about the security-dev mailing list